summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-04 15:24:46 +0200
committerMichael Adam <obnox@samba.org>2012-09-04 20:39:21 +0200
commitc1b703f95cb35798c4948aa01b9cb75184c29522 (patch)
treeddad401559ada9faa4b14e94e272dc014e64e794 /source3
parent6c7df39feeaeebeca88562e575aa0c803559b0d7 (diff)
downloadsamba-c1b703f95cb35798c4948aa01b9cb75184c29522.tar.gz
samba-c1b703f95cb35798c4948aa01b9cb75184c29522.tar.bz2
samba-c1b703f95cb35798c4948aa01b9cb75184c29522.zip
s3: in sys_popen(), add a debug message for failed extract_args()
Diffstat (limited to 'source3')
-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 58f7b478ad..df7806558d 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1190,6 +1190,7 @@ int sys_popen(const char *command)
argl = extract_args(NULL, command);
if (argl == NULL) {
+ DEBUG(0, ("sys_popen: extract_args() failed: %s\n", strerror(errno)));
goto err_exit;
}