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.1~1^2~32 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=75b4f90262d9c6cfc354f204d9981393daf08f98 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 9cde4cc68..9b6f46b6f 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -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;