mirror of
https://github.com/encounter/buildcache.git
synced 2026-07-09 18:18:50 -07:00
Use quotes for args with | too
This commit is contained in:
@@ -192,7 +192,7 @@ private:
|
||||
} else if (c == '\\') {
|
||||
escaped_arg += "\\\\";
|
||||
} else {
|
||||
if (c == ' ' || c == '&' || c == ';' || c == '>' || c == '<') {
|
||||
if (c == ' ' || c == '&' || c == ';' || c == '>' || c == '<' || c == '|') {
|
||||
needs_quotes = true;
|
||||
}
|
||||
escaped_arg += c;
|
||||
|
||||
Reference in New Issue
Block a user