bus: fix exit-on-idle for driverd

This commit is contained in:
Lennart Poettering
2013-12-19 22:18:39 +01:00
parent ff2ea19264
commit 37224a5ff5
6 changed files with 29 additions and 8 deletions
+1 -1
View File
@@ -857,7 +857,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
r = bus_event_loop_with_idle(event, bus, "org.freedesktop.timedate1", DEFAULT_EXIT_USEC);
r = bus_event_loop_with_idle(event, bus, "org.freedesktop.timedate1", DEFAULT_EXIT_USEC, NULL, NULL);
if (r < 0) {
log_error("Failed to run event loop: %s", strerror(-r));
goto finish;