]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/dbus-protocol.c
daemon: we better stay away from SIGQUIT since it is supposed to cause a core dump
[catta] / avahi-daemon / dbus-protocol.c
index 91ea8fae58f99d8b54fe94dfcfe43bcfcb1ddb74..eb8a6629a4c2541ee0ae34044b808ce8a041af54 100644 (file)
@@ -197,7 +197,7 @@ static DBusHandlerResult msg_signal_filter_impl(AVAHI_GCC_UNUSED DBusConnection
                 server->reconnect_timeout = server->poll_api->timeout_new(server->poll_api, &tv, reconnect_callback, NULL);
         } else {
             avahi_log_warn("Disconnected from D-Bus, exiting.");
-            raise(SIGQUIT);
+            raise(SIGTERM);
         }
 
         return DBUS_HANDLER_RESULT_HANDLED;