Do not unescape unit names in [Install] section

https://bugs.freedesktop.org/show_bug.cgi?id=49316
(cherry picked from commit 000f6e5667)
(cherry picked from commit 6a5aa37d14)
This commit is contained in:
Michal Sekletar
2014-06-18 12:34:17 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 2a9ec8c983
commit b1710001db
+1 -1
View File
@@ -669,7 +669,7 @@ int config_parse_strv(const char *unit,
FOREACH_WORD_QUOTED(w, l, rvalue, state) {
_cleanup_free_ char *n;
n = cunescape_length(w, l);
n = strndup(w, l);
if (!n)
return log_oom();