fix NO_REBOOT check in the presense of the "nounset" shell option
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
c51aece2b9
commit
4d62fb57b8
|
@ -356,6 +356,6 @@ setupConf
|
||||||
infect
|
infect
|
||||||
removeSwap
|
removeSwap
|
||||||
|
|
||||||
if [[ -z "$NO_REBOOT" ]]; then
|
if [[ -z "${NO_REBOOT+x}" ]]; then
|
||||||
reboot
|
reboot
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue