diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index e206b5b52..348a5407f 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -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();