mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-27 01:32:15 -05:00
Turn the pipe operator into the proper or operator
This commit is contained in:
parent
89d3bc9235
commit
502883f224
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue