Browse Source

Update commands_notfound variable check

master
Pekka Helenius 6 years ago
committed by GitHub
parent
commit
687e85510e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt_testrun.sh

+ 1
- 1
salt_testrun.sh View File

@ -39,7 +39,7 @@ function checkCommands() {
fi fi
done done
if [[ -n $COMMANDS_NOTFOUND ]]; then
if [[ -v COMMANDS_NOTFOUND ]]; then
echo -e "\n${bash_red}Error:${bash_color_default} The following commands could not be found: ${COMMANDS_NOTFOUND[*]}\nAborting\n" echo -e "\n${bash_red}Error:${bash_color_default} The following commands could not be found: ${COMMANDS_NOTFOUND[*]}\nAborting\n"
exit 1 exit 1
fi fi


Loading…
Cancel
Save