fix NO_REBOOT check in the presense of the "nounset" shell option
continuous-integration/drone/push Build is failing Details

hetzner-flakes
Alexander Tomokhov 2023-11-18 18:21:34 +04:00
parent c51aece2b9
commit 4d62fb57b8
1 changed files with 1 additions and 1 deletions

View File

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