diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-04-16 19:14:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-04-16 19:15:00 +0200 |
commit | b59e246565337d6c6967059dd15a52a15277433e (patch) | |
tree | 3ea65b16f40db14e76ee5437a76c9d2173ea8728 /src/core/manager.c | |
parent | b69d29ce049f12d463a589e18561dd10ee8c09f1 (diff) |
logind: remove redundant entries from logind's default controller lists too
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 44690525ea..1446c01ea5 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -63,6 +63,7 @@ #include "exit-status.h" #include "virt.h" #include "watchdog.h" +#include "cgroup-util.h" /* As soon as 16 units are in our GC queue, make sure to run a gc sweep */ #define GC_QUEUE_ENTRIES_MAX 16 @@ -3172,7 +3173,7 @@ int manager_set_default_controllers(Manager *m, char **controllers) { strv_free(m->default_controllers); m->default_controllers = l; - manager_shorten_default_controllers(m); + cg_shorten_controllers(m->default_controllers); return 0; } |