1
1
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:
Lennart Poettering 2013-12-23 20:22:33 +01:00
parent 6261f11fc3
commit f98a58fe89

View File

@ -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;
}