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.
This commit is contained in:
Lennart Poettering
2015-11-13 19:50:52 +01:00
parent 17f62e9bd0
commit 38599489e4
-1
View 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;