sd-event: fix return code of sd_event_run()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user