Kaydet (Commit) 178a910d authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

Dont reconnect to DBus

üst 27f3b885
...@@ -59,13 +59,9 @@ main(int argc, char *argv[]) ...@@ -59,13 +59,9 @@ main(int argc, char *argv[])
exit(1); exit(1);
} }
while (!shutdown_activated) { dbus_listen();
// Listen for DBus calls if (!shutdown_activated) {
dbus_listen(); log_info("DBus connection is lost.\n");
if (!shutdown_activated) {
log_info("DBus connection is lost. Waiting 5 seconds and trying again...\n");
sleep(5);
}
} }
model_free(); model_free();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment