mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03:00
manager: ignore invalid epoll events
This commit is contained in:
parent
f5319832c4
commit
40dde66fa0
2
TODO
2
TODO
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user