diff options
-rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index b0ccdeca3b..a5ca84bb6b 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -272,8 +272,8 @@ PHPAPI char *php_escape_shell_cmd(char *str) p = NULL; } else { cmd[y++] = '\\'; - cmd[y++] = str[x]; } + cmd[y++] = str[x]; break; #else /* % is Windows specific for enviromental variables, ^%PATH% will |