debug-generator: drop unneeded empty_to_root

This commit is contained in:
Mike Yuan 2024-05-08 18:41:54 +08:00
parent 221bad6007
commit 2997df9777
No known key found for this signature in database
GPG key ID: 417471C0A40F58B3

View file

@ -105,7 +105,7 @@ static int generate_mask_symlinks(void) {
STRV_FOREACH(u, arg_mask) {
_cleanup_free_ char *p = NULL;
p = path_join(empty_to_root(arg_dest), *u);
p = path_join(arg_dest, *u);
if (!p)
return log_oom();