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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user