Skip to content

Commit

Permalink
test.sh: fix danger of word splitting (found by shellcheck)
Browse files Browse the repository at this point in the history
Shellcheck:
SC2206: Quote to prevent word splitting, or split robustly with mapfile or read -a.

Signed-off-by: Michael Adam <obnox@redhat.com>
  • Loading branch information
obnoxxx committed Apr 25, 2018
1 parent 01f515a commit 2c1c02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ run_test() {
sts=$?
if [[ ${sts} -ne 0 ]]; then
vecho "failed ${cmd} [${sts}]"
FAILURES+=(${cmd})
FAILURES+=("${cmd}")
if [[ "${exitfirst}" = "yes" ]]; then
exit 1
fi
Expand Down

0 comments on commit 2c1c02d

Please sign in to comment.