diff options
-rw-r--r-- | ctdb/tests/UNIT/shellcheck/scripts/local.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/UNIT/shellcheck/scripts/local.sh b/ctdb/tests/UNIT/shellcheck/scripts/local.sh index 6bc93fd9146..c069314b0aa 100644 --- a/ctdb/tests/UNIT/shellcheck/scripts/local.sh +++ b/ctdb/tests/UNIT/shellcheck/scripts/local.sh @@ -11,7 +11,7 @@ define_test () shellcheck_test () { ok_null - if type shellcheck >/dev/null ; then + if type shellcheck >/dev/null 2>&1 ; then # Skip some recent checks: # # SC1090: Can't follow non-constant source. Use a |