From 916f5fe1eda7cdc4f9455161de5c052922001b0b Mon Sep 17 00:00:00 2001 From: John Wiebalk Date: Fri, 31 Jan 2020 18:00:28 -0500 Subject: [PATCH] is it really an array? --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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