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 9cde4cc68b3d9fa8daf4e207060b54166507f441..9b6f46b6faebd120ea6dd0615831133727da8fcb 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;