Merge pull request #217 from ntchambers/pipe-fix

Turn the pipe operator into the proper or operator
This commit is contained in:
Zack Koppert 2020-06-21 11:18:56 -07:00 committed by GitHub
commit 89c4dd233a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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