From: Michael Adam Date: Tue, 4 Sep 2012 13:25:42 +0000 (+0200) Subject: s3: in sys_popen(), add a debug message for failed fork X-Git-Tag: samba-4.0.0rc1~241 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2172a1448e8798b4df50d5874b38a252d15b3ad0;p=thirdparty%2Fsamba.git s3: in sys_popen(), add a debug message for failed fork Autobuild-User(master): Michael Adam Autobuild-Date(master): Tue Sep 4 22:17:30 CEST 2012 on sn-devel-104 --- diff --git a/source3/lib/system.c b/source3/lib/system.c index df7806558db..d69f1c66f12 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -1197,6 +1197,7 @@ int sys_popen(const char *command) entry->child_pid = fork(); if (entry->child_pid == -1) { + DEBUG(0, ("sys_popen: fork failed: %s\n", strerror(errno))); goto err_exit; }