s3: in sys_popen(), add a debug message for failed extract_args()
[kai/samba.git] / 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;
        }