diff options
author | Michael Adam <obnox@samba.org> | 2012-09-04 15:25:42 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-09-04 22:17:30 +0200 |
commit | 2172a1448e8798b4df50d5874b38a252d15b3ad0 (patch) | |
tree | 45a1996660e883c8a109ecf3704ba0cb96632fd0 | |
parent | c1b703f95cb35798c4948aa01b9cb75184c29522 (diff) | |
download | samba-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
-rw-r--r-- | source3/lib/system.c | 1 |
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; } |