Add extra set of brackets for comparison of integers

This commit is contained in:
weslambert authored and GitHub committed 2022-08-08 08:24:38 -04:00
1 parent cb384ae024
commit d7906945df
1 file changed
+1 -1
+1 -1
View File
@@ -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:"