mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Always exit on early failure
This commit is contained in:
@@ -54,7 +54,7 @@ function progress() {
|
|||||||
if grep -q "ERROR" $setup_log || [[ -s /var/spool/mail/root ]]; then
|
if grep -q "ERROR" $setup_log || [[ -s /var/spool/mail/root ]]; then
|
||||||
if [[ $automated == no ]]; then whiptail_setup_failed; else exit 1; fi
|
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
|
else
|
||||||
if [ $automated == no ]; then
|
if [ $automated == no ]; then
|
||||||
whiptail --title "Security Onion Install" --gauge 'Please wait while installing' 6 60 0
|
whiptail --title "Security Onion Install" --gauge 'Please wait while installing' 6 60 0
|
||||||
|
|||||||
Reference in New Issue
Block a user