diff --git a/setup/so-setup b/setup/so-setup index 495e92637..8c1ffe6a1 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -54,7 +54,7 @@ function progress() { if grep -q "ERROR" $setup_log || [[ -s /var/spool/mail/root ]]; then if [[ $automated == no ]]; then whiptail_setup_failed; else exit 1; fi - if [[ -z $SKIP_REBOOT ]]; then shutdown -r now; fi + if [[ -z $SKIP_REBOOT ]]; then shutdown -r now; else exit 1; fi else if [ $automated == no ]; then whiptail --title "Security Onion Install" --gauge 'Please wait while installing' 6 60 0