mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
sd-event: fix return code of sd_event_run()
This commit is contained in:
parent
6261f11fc3
commit
f98a58fe89
@ -2029,7 +2029,7 @@ _public_ int sd_event_run(sd_event *e, uint64_t timeout) {
|
||||
|
||||
p = event_next_pending(e);
|
||||
if (!p) {
|
||||
r = 0;
|
||||
r = 1;
|
||||
goto finish;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user