From 93b3b01032781b75b3d7002f05ddbe2ffc38168d Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Mon, 5 Aug 2019 10:19:13 +1000 Subject: [PATCH] ctdb-tests: Avoid shellcheck warning SC2188 SC2188 This redirection doesn't have a command... Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.47.2