mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
:Missed earlier fix to spawn_child
This commit is contained in:
parent
9333a08637
commit
d67c7e7c85
@ -312,7 +312,7 @@ spawn_child(char* cmd, int in, int out, int err, DWORD flags) {
|
|||||||
if(!cmd)
|
if(!cmd)
|
||||||
break;
|
break;
|
||||||
t = cmd;
|
t = cmd;
|
||||||
if (*t = '\"')
|
if (*t == '\"')
|
||||||
t++;
|
t++;
|
||||||
if (t[0] == '\0' || t[0] == '\\' || t[0] == '.' || t[1] == ':')
|
if (t[0] == '\0' || t[0] == '\\' || t[0] == '.' || t[1] == ':')
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user