sd-event: fix return code of sd_event_run()

This commit is contained in:
Lennart Poettering
2013-12-23 20:25:57 +01:00
parent 6261f11fc3
commit f98a58fe89
+1 -1
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;
}