]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "ctdb-tests: Enable job control when keeping stdin open"
authorMartin Schwenke <martin@meltin.net>
Wed, 29 Jan 2020 03:30:25 +0000 (14:30 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Feb 2020 04:07:38 +0000 (04:07 +0000)
This doesn't work when stdin is not a tty.

This reverts commit ea754bfdec9d537c500036d4d521bd41d34c0835.

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

index 5aa9adc387b936afece8300f8e8c0c57c33ee20e..9020b3d2a95ddd931b16329747aed05a2314e012 100755 (executable)
@@ -307,7 +307,7 @@ local_daemons_ssh ()
        if $_close_stdin ; then
                exec sh -c "$*" <&-
        else
-               exec sh -m -c "$*"
+               exec sh -c "$*"
        fi
 }