diff --git a/setup/so-setup b/setup/so-setup index 54b5a03e4..86d3b5e5c 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -57,6 +57,9 @@ function progress() { fi whiptail --title "Security Onion Install" --gauge 'Please wait while installing' 6 60 0 else + if grep -q "ERROR" $setup_log || [[ -s /var/spool/mail/root ]]; then + exit 1 + fi cat >> $setup_log 2>&1 fi