is it really an array?

This commit is contained in:
John Wiebalk 2020-01-31 18:00:28 -05:00
parent 29c9470bb1
commit 916f5fe1ed

View file

@ -157,7 +157,7 @@ GetLinterVersions()
############################## ##############################
# Check the shell for errors # # 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 "WARN! Failed to get version info for:[$LINTER]"
echo "---------------------------------------------" echo "---------------------------------------------"
else else