fix NO_REBOOT check in the presense of the "nounset" shell option

This commit is contained in:
Alexander Tomokhov 2023-11-18 18:21:34 +04:00
parent c51aece2b9
commit 4d62fb57b8

View file

@ -356,6 +356,6 @@ setupConf
infect infect
removeSwap removeSwap
if [[ -z "$NO_REBOOT" ]]; then if [[ -z "${NO_REBOOT+x}" ]]; then
reboot reboot
fi fi