mirror of
https://github.com/systemd/systemd.git
synced 2025-02-01 09:47:35 +03:00
Do not unescape unit names in [Install] section
https://bugs.freedesktop.org/show_bug.cgi?id=49316
This commit is contained in:
parent
49804365ea
commit
000f6e5667
Notes:
Lennart Poettering
2014-05-28 09:41:41 +08:00
Backport: bugfix
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user