]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Nov 2015 18:50:52 +0000 (19:50 +0100)
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 1d561a6f8a73c06b1f0d60816a6564c0538d0485..ef3d46f3fb5424811bd668acb3324cfc15cef12f 100644 (file)
@@ -513,7 +513,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;