summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/load-fragment.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 8e5be8731f..358d36beb6 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -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);