From 5756892203c258b0138cf101aa49fd6568bd9fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 19 May 2018 08:13:45 +0200 Subject: [PATCH] exec: fix minimal length of unquoted string --- src/plugins/exec/exec-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c index 906fbacb1..1ba3bf53c 100644 --- a/src/plugins/exec/exec-command.c +++ b/src/plugins/exec/exec-command.c @@ -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) {