summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}