diff --git a/shellwords.go b/shellwords.go index 01afd94..1b42a00 100644 --- a/shellwords.go +++ b/shellwords.go @@ -232,7 +232,7 @@ loop: case '\'': if !doubleQuoted && !dollarQuote { if singleQuoted { - got = argSingle + got = argQuoted } singleQuoted = !singleQuoted continue