ctdb-tests: Redirect stderr too when checking for shellcheck
commit847aa0e367c721944650aa34d67f8073461ae272
authorMartin Schwenke <martin@meltin.net>
Wed, 11 Mar 2020 05:33:27 +0000 (11 16:33 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 22 Jul 2020 02:42:37 +0000 (22 02:42 +0000)
tree47345463f6c4ae0eed1ad6ca7db1337909932f73
parentc78de201f84f9fae9916af9592d42cbc71f805c5
ctdb-tests: Redirect stderr too when checking for shellcheck

Avoid:

  .../UNIT/shellcheck/scripts/local.sh: line 14: type: shellcheck: not found

The "type" command in dash prints the "not found" message to stdout
but the bash version prints to stderr, so redirect stderr too.

Signed-off-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/UNIT/shellcheck/scripts/local.sh