[fix] numeric argument required, unquote var

This commit is contained in:
William Wernert
2020-05-12 14:19:35 -04:00
parent d1eac195d8
commit f8da001b7c

View File

@@ -198,7 +198,7 @@ check_hive_init_then_reboot() {
local return_val local return_val
return_val="$(wait_for_file /opt/so/state/thehive.txt 20 5)" 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" return "$return_val"
fi fi