summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index 2add241066..7aea3cdcb1 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -73,8 +73,7 @@ Manager *manager_new(void) {
m->busnames = set_new(string_hash_func, string_compare_func);
if (!m->devices || !m->seats || !m->sessions || !m->users || !m->inhibitors || !m->buttons || !m->busnames ||
- !m->user_units || !m->session_units ||
- !m->busnames) {
+ !m->user_units || !m->session_units) {
manager_free(m);
return NULL;
}