mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[style] Change SO_ERROR check to non-empty check
This commit is contained in:
@@ -623,7 +623,7 @@ if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then
|
||||
IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
if [[ $success != 0 || $SO_ERROR == 1 ]]; then
|
||||
if [[ $success != 0 || -n $SO_ERROR ]]; then
|
||||
SKIP_REBOOT=1
|
||||
whiptail_setup_failed
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user