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:
parent
d34cd5711d
commit
a345cf448d
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user