summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-04 15:25:42 +0200
committerMichael Adam <obnox@samba.org>2012-09-04 22:17:30 +0200
commit2172a1448e8798b4df50d5874b38a252d15b3ad0 (patch)
tree45a1996660e883c8a109ecf3704ba0cb96632fd0 /source3/lib/system.c
parentc1b703f95cb35798c4948aa01b9cb75184c29522 (diff)
downloadsamba-2172a1448e8798b4df50d5874b38a252d15b3ad0.tar.gz
samba-2172a1448e8798b4df50d5874b38a252d15b3ad0.tar.bz2
samba-2172a1448e8798b4df50d5874b38a252d15b3ad0.zip
s3: in sys_popen(), add a debug message for failed fork
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 4 22:17:30 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index df7806558d..d69f1c66f1 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;
}