git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: in sys_popen(), add a debug message for failed fork
[kai/samba.git]
/
source3
/
lib
/
system.c
diff --git
a/source3/lib/system.c
b/source3/lib/system.c
index df7806558db4e8b7f42a1b6a962f383e11f3aa7c..d69f1c66f12dd5da2dc14e2c43f9c4dc8375ecf5 100644
(file)
--- 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;
}