chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "systemctl: fix broken list-unit-files with --root"
[elogind.git]
/
src
/
shared
/
install.c
diff --git
a/src/shared/install.c
b/src/shared/install.c
index a07d1dd31577a73172be3eeec7675c18ab374332..4b09a69456fd71fab4bf9c7bb113607d3747c9e2 100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-2099,7
+2099,7
@@
int unit_file_get_list(
if (!f)
return -ENOMEM;
- f->path = path_make_absolute(de->d_name,
*i
);
+ f->path = path_make_absolute(de->d_name,
units_dir
);
if (!f->path)
return -ENOMEM;