Turn the pipe operator into the proper or operator

This commit is contained in:
Nicholas Chambers 2020-06-20 12:51:24 -05:00
parent 89d3bc9235
commit 502883f224

View file

@ -223,7 +223,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