1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-23 10:50:16 +03:00

tmpfiles: fix build

After I merged #12750 we don't build anymore, since the merged PR (which
passed CI) uses prefix_root() which doesn't exist anymore. Let's fix
that.
This commit is contained in:
Lennart Poettering 2019-07-11 18:41:14 +02:00
parent 0772b11cc8
commit d34cd5711d

View File

@ -2625,7 +2625,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool
} else if (arg_root) {
char *p;
p = prefix_root(arg_root, i.argument);
p = path_join(arg_root, i.argument);
if (!p)
return log_oom();
free_and_replace(i.argument, p);