chiark / gitweb /
logind: don't assert if the slice is missing
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Nov 2015 17:47:02 +0000 (18:47 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Apr 2017 10:58:55 +0000 (12:58 +0200)
After all, we don't actually really need the slice to work, it's just
nice to have it.

src/login/logind-session.c

index 9cde4cc..9b6f46b 100644 (file)
@@ -515,7 +515,6 @@ static int session_start_scope(Session *s) {
 
         assert(s);
         assert(s->user);
-        assert(s->user->slice);
 
         if (!s->scope) {
                 _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;