1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-22 06:50:18 +03:00

tmpfiles: use path_join() where it makes sense

This commit is contained in:
Lennart Poettering 2019-07-11 18:42:26 +02:00
parent d34cd5711d
commit a345cf448d

View File

@ -2597,7 +2597,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool
case CREATE_SYMLINK:
if (!i.argument) {
i.argument = strappend("/usr/share/factory/", i.path);
i.argument = path_join("/usr/share/factory/", i.path);
if (!i.argument)
return log_oom();
}