as REBOOT_NEEDED variable is independant on every module, the function to set it is no longuer needed

This commit is contained in:
levasseur
2022-02-21 18:47:08 +01:00
parent a6c94c2bf9
commit b9fc8ed51c
5 changed files with 9 additions and 20 deletions

View File

@@ -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