1abbee
From 7f681673fa2af8f1898447ee336763f2eeb00d57 Mon Sep 17 00:00:00 2001
1abbee
From: Lennart Poettering <lennart@poettering.net>
1abbee
Date: Fri, 13 Nov 2015 18:47:02 +0100
1abbee
Subject: [PATCH] logind: don't assert if the slice is missing
1abbee
1abbee
After all, we don't actually really need the slice to work, it's just
1abbee
nice to have it.
1abbee
1abbee
Cherry-picked from: 38599489e49e840291516488a3ef1b4a56198c58
1abbee
Resolves: #1371437
1abbee
---
1abbee
 src/login/logind-session.c | 1 -
1abbee
 1 file changed, 1 deletion(-)
1abbee
1abbee
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
Pablo Greco 48fc63
index 59f5a7ad5d..746e50aa51 100644
1abbee
--- a/src/login/logind-session.c
1abbee
+++ b/src/login/logind-session.c
1abbee
@@ -507,7 +507,6 @@ static int session_start_scope(Session *s) {
1abbee
 
1abbee
         assert(s);
1abbee
         assert(s->user);
1abbee
-        assert(s->user->slice);
1abbee
 
1abbee
         if (!s->scope) {
1abbee
                 _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;