chiark / gitweb /
logind: use named pipes instead of fifos to keep track of sessions so that we can...
[elogind.git] / src / logind-user.c
index 177e88200a9f49d4309a1dd621eb496faffe2aa5..4335bf646203cd8af4793c300476d0198701a45b 100644 (file)
@@ -459,6 +459,9 @@ int user_check_gc(User *u) {
 
         assert(u);
 
+        if (!u->started)
+                return 0;
+
         if (u->sessions)
                 return 1;