diff options
author | Martin Schwenke <martin@meltin.net> | 2020-01-14 10:58:15 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2020-01-28 11:24:35 +0000 |
commit | ea754bfdec9d537c500036d4d521bd41d34c0835 (patch) | |
tree | 9ca999a6b2ce55ded07eed76b8e74dcbba300d3e /lib | |
parent | 2380b13bf81f0705d036a0b43c65e823dd0e3624 (diff) | |
download | samba-ea754bfdec9d537c500036d4d521bd41d34c0835.tar.gz |
ctdb-tests: Enable job control when keeping stdin open
POSIX says:
If job control is disabled (see set, -m), the standard input for an
asynchronous list, before any explicit redirections are performed,
shall be considered to be assigned to a file that has the same
properties as /dev/null. This shall not happen if job control is
enabled. In all cases, explicit redirection of standard input shall
override this activity.
ctdbd is backgrounded at startup, so the above causes stdin to be
redirected from /dev/null. Enable job control to work around this.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Jan 28 11:24:35 UTC 2020 on sn-devel-184
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions