s3: in sys_popen(), add a debug message for failed extract_args()
authorMichael Adam <obnox@samba.org>
Tue, 4 Sep 2012 13:24:46 +0000 (15:24 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 4 Sep 2012 18:39:21 +0000 (20:39 +0200)
source3/lib/system.c

index 58f7b478ad4e4e1f90d0065443af11b3e838afe6..df7806558db4e8b7f42a1b6a962f383e11f3aa7c 100644 (file)
@@ -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;
        }