chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03cd001
)
logind: don't assert if the slice is missing
author
Lennart Poettering
<lennart@poettering.net>
Fri, 13 Nov 2015 17:47:02 +0000
(18:47 +0100)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/src/login/logind-session.c
b/src/login/logind-session.c
index 9cde4cc68b3d9fa8daf4e207060b54166507f441..9b6f46b6faebd120ea6dd0615831133727da8fcb 100644
(file)
--- 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);
assert(s->user);
- assert(s->user->slice);
if (!s->scope) {
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
if (!s->scope) {
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;