lib/util: Make ECHILD in samba_runcmd_io_handler an error
commit143e7d362797dcb2f92de9231966bf63b604e02e
authorAndrew Bartlett <abartlet@samba.org>
Wed, 18 Feb 2015 23:41:34 +0000 (19 12:41 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 17 Mar 2015 06:05:43 +0000 (17 07:05 +0100)
tree473eed388557619a282d4bcb6bfb759871f9dd49
parent30e0238646bc3a891a67dea57baccea8afc1af43
lib/util: Make ECHILD in samba_runcmd_io_handler an error

We now print out a nasty message and set and error if we get ECHILD,
as we no longer set SIGIGN on SIGCHLD in the standard process model.

This was why samba_kcc was able to fail totally without us noticing.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Mar 17 07:05:43 CET 2015 on sn-devel-104
lib/util/util_runcmd.c