projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6feeeab
)
load-fragment: properly unescape \;
author
tomsod-m ya ru
<tomsod-m@ya.ru>
Thu, 18 Dec 2014 04:01:06 +0000
(23:01 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 18 Dec 2014 04:01:38 +0000
(23:01 -0500)
https://bugs.freedesktop.org/show_bug.cgi?id=87393
src/core/load-fragment.c
patch
|
blob
|
history
diff --git
a/src/core/load-fragment.c
b/src/core/load-fragment.c
index
8e5be87
..
358d36b
100644
(file)
--- 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);