mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-25 13:01:28 +00:00
fix NO_REBOOT check in the presense of the "nounset" shell option
This commit is contained in:
parent
c51aece2b9
commit
4d62fb57b8
|
@ -356,6 +356,6 @@ setupConf
|
|||
infect
|
||||
removeSwap
|
||||
|
||||
if [[ -z "$NO_REBOOT" ]]; then
|
||||
if [[ -z "${NO_REBOOT+x}" ]]; then
|
||||
reboot
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue