]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Avoid shellcheck warning SC2188
authorMartin Schwenke <martin@meltin.net>
Mon, 5 Aug 2019 00:19:13 +0000 (10:19 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 14 Aug 2019 09:11:35 +0000 (09:11 +0000)
SC2188 This redirection doesn't have a command...

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/run_tests.sh

index 22235655e5b3c003e7b83f29953ebc8a1f125180..73523628c799f373da7dd016462cf876345d1244 100755 (executable)
@@ -169,7 +169,7 @@ if ! which mktemp >/dev/null 2>&1 ; then
            if $dir ; then
                mkdir "$t"
            else
-               >"$t"
+               >"$t"
            fi
        )
        echo "$t"