mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
[refactor] Add check for "Result: False" in setup
This commit is contained in:
@@ -55,7 +55,7 @@ echo "---- Starting setup at $(date -u) ----" >> $setup_log 2>&1
|
||||
automated=no
|
||||
function progress() {
|
||||
local title='Security Onion Install'
|
||||
if grep -q "ERROR" $setup_log || [[ -s /var/spool/mail/root ]]; then
|
||||
if grep -q -E "ERROR|Result: False" $setup_log || [[ -s /var/spool/mail/root ]]; then
|
||||
if [[ -s /var/spool/mail/root ]]; then
|
||||
echo '[ ERROR ] /var/spool/mail/root grew unexpectedly' >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user