Fix incorrect conditional for failures
This commit is contained in:
parent
e3f9ee8945
commit
d015489a83
@ -506,7 +506,7 @@ cleanup() {
|
|||||||
echo "done."
|
echo "done."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [[ -n ${DONE} ]]; then
|
if [[ -z ${DONE} ]]; then
|
||||||
case ${install_option} in
|
case ${install_option} in
|
||||||
on)
|
on)
|
||||||
echo "A fatal error occurred; rebooting in 10 seconds."
|
echo "A fatal error occurred; rebooting in 10 seconds."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user