chiark / gitweb /
bus: fix default exit on idle timeout
authorLennart Poettering <lennart@poettering.net>
Wed, 16 Oct 2013 14:55:01 +0000 (16:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Oct 2013 15:01:26 +0000 (17:01 +0200)
src/libsystemd-bus/bus-util.c

index 5a70fae..b77ae91 100644 (file)
@@ -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;