]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
debug-generator: drop unneeded empty_to_root
authorMike Yuan <me@yhndnzj.com>
Wed, 8 May 2024 10:41:54 +0000 (18:41 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 8 May 2024 10:43:49 +0000 (18:43 +0800)
src/debug-generator/debug-generator.c

index c39eb63394a1b758b2534314acdb8a8878423611..5a18068e261f590a7d2b7423a5c618bfa6b91caa 100644 (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();