summaryrefslogtreecommitdiff
path: root/load-dropin.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-21 06:01:13 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-21 06:01:13 +0200
commit701cc384c283206a29b21e4e7302e5cf5f2d9433 (patch)
tree0e8e47d12cb3ea47794bad390658c900ed61d691 /load-dropin.c
parent48507e6621596b0d5503fad6cd9e0685917603f5 (diff)
manager: automatically GC unreferenced units
Diffstat (limited to 'load-dropin.c')
-rw-r--r--load-dropin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load-dropin.c b/load-dropin.c
index 89e142f9a8..2101e33004 100644
--- a/load-dropin.c
+++ b/load-dropin.c
@@ -52,7 +52,7 @@ static int iterate_dir(Unit *u, const char *path) {
goto finish;
}
- r = unit_add_dependency_by_name(u, UNIT_WANTS, de->d_name, f);
+ r = unit_add_dependency_by_name(u, UNIT_WANTS, de->d_name, f, true);
free(f);
if (r < 0)