diff options
author | Michal Sekletar <msekleta@redhat.com> | 2014-05-26 20:09:45 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-26 20:12:19 +0200 |
commit | 000f6e5667eb4f73e137cbd0d7395a9f9db7728a (patch) | |
tree | ec279c23160a42e323c2ac42ccecaac35cd9d459 /src | |
parent | 49804365ea1242456c9763058a59cf68479e07ea (diff) |
Do not unescape unit names in [Install] section
https://bugs.freedesktop.org/show_bug.cgi?id=49316
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/conf-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 77a172e9f1..158e9efd4c 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -688,7 +688,7 @@ int config_parse_strv(const char *unit, FOREACH_WORD_QUOTED(w, l, rvalue, state) { char *n; - n = cunescape_length(w, l); + n = strndup(w, l); if (!n) return log_oom(); |