diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 65535aa97..92c1497d6 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -719,7 +719,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();