mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] numeric argument required, unquote var
This commit is contained in:
@@ -198,7 +198,7 @@ check_hive_init_then_reboot() {
|
||||
local return_val
|
||||
return_val="$(wait_for_file /opt/so/state/thehive.txt 20 5)"
|
||||
|
||||
if [ "$return_val" != 0 ]; then
|
||||
if [[ $return_val != 0 ]]; then
|
||||
return "$return_val"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user