mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Fix for only specifying one command with -c
(This used to be commit 7418351427
)
This commit is contained in:
parent
1fc2976e14
commit
4834c61ebc
@ -170,7 +170,10 @@ static char* next_command (char** cmdstr)
|
||||
if (p)
|
||||
*p = '\0';
|
||||
pstrcpy(command, *cmdstr);
|
||||
*cmdstr = p + 1;
|
||||
if (p)
|
||||
*cmdstr = p + 1;
|
||||
else
|
||||
*cmdstr = NULL;
|
||||
|
||||
return command;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user