chiark / gitweb /
Do not unescape unit names in [Install] section
[elogind.git] / src / shared / conf-parser.c
index 77a172e9f1dffbdbd5ccf7a8802a49a3e2930c9d..158e9efd4cecb260bb15426379fa468e9c8dfe7b 100644 (file)
@@ -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();