1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s3: in sys_popen(), untangle function call from result check

This commit is contained in:
Michael Adam
2012-09-04 15:23:01 +02:00
parent 1d4fe78db9
commit 6c7df39fee

View File

@ -1188,8 +1188,10 @@ int sys_popen(const char *command)
* Extract the command and args into a NULL terminated array.
*/
if(!(argl = extract_args(NULL, command)))
argl = extract_args(NULL, command);
if (argl == NULL) {
goto err_exit;
}
entry->child_pid = fork();