as REBOOT_NEEDED variable is independant on every module, the function to set it is no longuer needed
This commit is contained in:
1 parent
a6c94c2bf9
commit
b9fc8ed51c
5 files changed
+9
-20
No files matched your search
@@ -60,17 +60,4 @@ set_system_proxy()
|
||||
}
|
||||
export -f set_system_proxy
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Set a reboot nedeed flag to display a warning at the end
|
||||
set_reboot_needed()
|
||||
{
|
||||
if [[ $NEED_REBOOT==true ]]; then
|
||||
# Reboot flag already set, nothing to do
|
||||
return 0
|
||||
else
|
||||
export NEED_REBOOT=true
|
||||
fi
|
||||
}
|
||||
|
||||
# EOF
|
||||
Reference in new issue
Block a user