From 1a7f1b385cd9de8a0da934fadc379860f914ef33 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 14 Dec 2014 23:12:40 -0500 Subject: Move dropin listing to shared No functional change. This is in preparation for using this in systemctl in the future. --- src/core/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/unit.c') diff --git a/src/core/unit.c b/src/core/unit.c index 8cec0e7e7f..a2f37282db 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -2894,7 +2894,7 @@ bool unit_need_daemon_reload(Unit *u) { return true; } - t = unit_find_dropin_paths(u); + (void) unit_find_dropin_paths(u, &t); loaded_cnt = strv_length(t); current_cnt = strv_length(u->dropin_paths); -- cgit v1.2.3-54-g00ecf