From c7b4a5351cb99325a412bfd09301bfd2332d7792 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 5 Nov 2020 18:17:11 -0500 Subject: [PATCH] fix logic - https://github.com/Security-Onion-Solutions/securityonion/issues/1764 --- salt/common/tools/sbin/so-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-status b/salt/common/tools/sbin/so-status index 17bf50523..0aff7a5a2 100755 --- a/salt/common/tools/sbin/so-status +++ b/salt/common/tools/sbin/so-status @@ -146,7 +146,7 @@ parse_status() { # if a highstate has not run since system start time, but a highstate is currently running # then show that the containers are STARTING - elif [ $HIGHSTATE_RUNNING -eq 0 ]; then + elif [[ "$HIGHSTATE_RUNNING" == 0 ]]; then printf $STARTING_STRING && return 0 # if a highstate has not finished running since system startup and isn't currently running