ctdb-tests: Don't actually close stdin in fake ssh
authorMartin Schwenke <martin@meltin.net>
Thu, 30 Jan 2020 02:38:52 +0000 (13:38 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Feb 2020 04:07:38 +0000 (04:07 +0000)
commit3509aa28d4b76799cbcbe60ae6c5455c93d74b0c
tree075bfb938fd936ce0880f8f8e28d00dd5a02342b
parent8de1bb75e56525d43665f0a48abbf47dd91aa9c3
ctdb-tests: Don't actually close stdin in fake ssh

A subsequent file descriptor allocation may return 0 and unexpected
things may then happen.

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