diff --git a/nixos-infect b/nixos-infect index 273f77e..f4eabd9 100755 --- a/nixos-infect +++ b/nixos-infect @@ -356,6 +356,6 @@ setupConf infect removeSwap -if [[ -z "$NO_REBOOT" ]]; then +if [[ -z "${NO_REBOOT+x}" ]]; then reboot fi