Commit 40dde66f authored by Lennart Poettering's avatar Lennart Poettering
Browse files

manager: ignore invalid epoll events

parent f5319832
......@@ -79,7 +79,7 @@
* declare /etc/os-release cross-distro standard
Pre v12:
* rename s/session/user/g
* fix hotplug transactions
......
......@@ -2192,6 +2192,9 @@ static int process_event(Manager *m, struct epoll_event *ev) {
assert(w = ev->data.ptr);
if (w->type == WATCH_INVALID)
return 0;
switch (w->type) {
case WATCH_SIGNAL:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment