mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
tmpfiles: use path_join() where we can
This commit is contained in:
parent
3d9f670783
commit
113ed3be37
|
@ -563,7 +563,7 @@ static int dir_cleanup(
|
|||
continue;
|
||||
}
|
||||
|
||||
sub_path = strjoin(p, "/", dent->d_name);
|
||||
sub_path = path_join(p, dent->d_name);
|
||||
if (!sub_path) {
|
||||
r = log_oom();
|
||||
goto finish;
|
||||
|
|
Loading…
Reference in a new issue