diff --git a/lib/linter.sh b/lib/linter.sh index ca315691..d42476f7 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -157,7 +157,7 @@ GetLinterVersions() ############################## # Check the shell for errors # ############################## - if [ $ERROR_CODE -ne 0 ] | [ -z $GET_VERSION_CMD ]; then + if [ $ERROR_CODE -ne 0 ] | [ -z "${GET_VERSION_CMD[*]}" ]; then echo "WARN! Failed to get version info for:[$LINTER]" echo "---------------------------------------------" else