load-fragment: properly unescape \;
https://bugs.freedesktop.org/show_bug.cgi?id=87393
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
6feeeab0bc
commit
3851c51ad1
@@ -601,8 +601,10 @@ int config_parse_exec(const char *unit,
|
||||
FOREACH_WORD_QUOTED(word, l, rvalue, state) {
|
||||
if (strneq(word, ";", MAX(l, 1U)))
|
||||
break;
|
||||
else if (strneq(word, "\\;", MAX(l, 1U)))
|
||||
else if (strneq(word, "\\;", MAX(l, 1U))) {
|
||||
word ++;
|
||||
l --;
|
||||
}
|
||||
|
||||
if (honour_argv0 && word == rvalue) {
|
||||
assert(!path);
|
||||
|
||||
Reference in New Issue
Block a user