exec: fix minimal length of unquoted string

This commit is contained in:
Sébastien Helleu 2018-05-19 08:13:45 +02:00
parent 4b784a631c
commit 5756892203

View File

@ -335,7 +335,7 @@ exec_command_parse_options (struct t_exec_cmd_options *cmd_options,
if (argv[i][0] == '"')
{
/* search the ending double quote */
length_total = 1;
length_total = 2;
end = i;
while (end < argc)
{