summaryrefslogtreecommitdiffstats
path: root/src/debug-generator
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-05-08 12:41:54 +0200
committerMike Yuan <me@yhndnzj.com>2024-05-08 12:43:49 +0200
commit2997df97778acfb99995611de1073ccc205dd921 (patch)
tree7a54279914f0a8fadce529e1292b6203795358e6 /src/debug-generator
parentdebug-generator: use RET_GATHER where appropriate (diff)
downloadsystemd-2997df97778acfb99995611de1073ccc205dd921.tar.xz
systemd-2997df97778acfb99995611de1073ccc205dd921.zip
debug-generator: drop unneeded empty_to_root
Diffstat (limited to 'src/debug-generator')
-rw-r--r--src/debug-generator/debug-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug-generator/debug-generator.c b/src/debug-generator/debug-generator.c
index c39eb63394..5a18068e26 100644
--- a/src/debug-generator/debug-generator.c
+++ b/src/debug-generator/debug-generator.c
@@ -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();