summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index d0d18ae540..ea74254b28 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -669,9 +669,7 @@ int manager_enumerate_users(Manager *m) {
assert(m);
/* Add lingering users */
- k = manager_enumerate_linger_users(m);
- if (k < 0)
- r = k;
+ r = manager_enumerate_linger_users(m);
/* Read in user data stored on disk */
d = opendir("/run/systemd/users");