diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-16 16:55:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-16 17:01:26 +0200 |
commit | d16dd6d42a28a5d7c335ede979c3d426cd4656f5 (patch) | |
tree | 50ad40d806664f1214ec47e2e8c1d3fac11b15b9 /src | |
parent | 3f0b55366b027aa7b6d1944cd64a3d756a5d6b3d (diff) |
bus: fix default exit on idle timeout
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/bus-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-util.c b/src/libsystemd-bus/bus-util.c index 5a70fae77f..b77ae91681 100644 --- a/src/libsystemd-bus/bus-util.c +++ b/src/libsystemd-bus/bus-util.c @@ -81,7 +81,7 @@ int bus_event_loop_with_idle(sd_event *e, sd_bus *bus, const char *name, usec_t if (r == SD_EVENT_FINISHED) break; - r = sd_event_run(e, exiting ? (uint64_t) -1 : 5 * USEC_PER_SEC /* DEFAULT_EXIT_USEC */); + r = sd_event_run(e, exiting ? (uint64_t) -1 : DEFAULT_EXIT_USEC); if (r < 0) return r; |