From: Martin Schwenke Date: Mon, 5 Aug 2019 00:19:13 +0000 (+1000) Subject: ctdb-tests: Avoid shellcheck warning SC2188 X-Git-Tag: tdb-1.4.2~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b3b01032781b75b3d7002f05ddbe2ffc38168d;p=thirdparty%2Fsamba.git ctdb-tests: Avoid shellcheck warning SC2188 SC2188 This redirection doesn't have a command... Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh index 22235655e5b..73523628c79 100755 --- a/ctdb/tests/run_tests.sh +++ b/ctdb/tests/run_tests.sh @@ -169,7 +169,7 @@ if ! which mktemp >/dev/null 2>&1 ; then if $dir ; then mkdir "$t" else - >"$t" + : >"$t" fi ) echo "$t"