Fix systemd ExecStart parsing whitespace
This commit is contained in:
1 parent
1656f491fd
commit
fa9aafce83
2 files changed
+39
-1
No files matched your search
@@ -76,7 +76,7 @@ export function parseSystemdExecStart(value: string): string[] {
|
||||
inQuotes = !inQuotes;
|
||||
continue;
|
||||
}
|
||||
if (!inQuotes && /\\s/.test(char)) {
|
||||
if (!inQuotes && /\s/.test(char)) {
|
||||
if (current) {
|
||||
args.push(current);
|
||||
current = "";
|
||||
|
||||
Reference in new issue
Block a user