summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-23 20:22:33 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-23 20:25:57 +0100
commitf98a58fe894d34e4d9675757180f34a8523c936e (patch)
tree07637cce9c87bdf9e54190c6b252f10b41764c9c
parent6261f11fc3d0a8b63c5afa5313d96607a008b54e (diff)
sd-event: fix return code of sd_event_run()
-rw-r--r--src/libsystemd-bus/sd-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-event.c b/src/libsystemd-bus/sd-event.c
index bfc798ca6e..0317088af3 100644
--- a/src/libsystemd-bus/sd-event.c
+++ b/src/libsystemd-bus/sd-event.c
@@ -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;
}