From d7906945df2256a688607afac3f9937c9f911fb4 Mon Sep 17 00:00:00 2001 From: weslambert Date: Mon, 8 Aug 2022 08:24:38 -0400 Subject: [PATCH] Add extra set of brackets for comparison of integers --- salt/common/tools/sbin/soup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index d42cb59fa..5f176a264 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -463,7 +463,7 @@ enable_highstate() { es_version_check() { CHECK_ES=$(echo $INSTALLEDVERSION | awk -F. '{print $3}') - if [ "$CHECK_ES" -lt "110" ]; then + if [[ "$CHECK_ES" -lt "110" ]]; then echo "You are currently running Security Onion $INSTALLEDVERSION. You will need to update to version 2.3.130 before updating to 2.3.140 or higher." echo "" echo "If your deployment has Internet access, you can use the following command to update to 2.3.130:"