From: Lennart Poettering Date: Fri, 13 Nov 2015 17:47:02 +0000 (+0100) Subject: logind: don't assert if the slice is missing X-Git-Tag: v228~16^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38599489e49e840291516488a3ef1b4a56198c58;p=thirdparty%2Fsystemd.git logind: don't assert if the slice is missing After all, we don't actually really need the slice to work, it's just nice to have it. --- diff --git a/src/login/logind-session.c b/src/login/logind-session.c index 1d561a6f8a7..ef3d46f3fb5 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -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;