From: Colin Walters Date: Tue, 23 Mar 2010 19:04:21 +0000 (-0400) Subject: [bus] Don't install a SIGTERM handler X-Git-Tag: dbus-1.2.24~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f58fdfb11e15ab4ab666d6f688c00211a894039;p=thirdparty%2Fdbus.git [bus] Don't install a SIGTERM handler Really we don't have any interesting cleanup to do, so just let the process die. https://bugs.freedesktop.org/show_bug.cgi?id=26303 --- diff --git a/bus/main.c b/bus/main.c index e3650f1b1..d17486ddd 100644 --- a/bus/main.c +++ b/bus/main.c @@ -65,9 +65,6 @@ signal_handler (int sig) } break; #endif - case SIGTERM: - _dbus_loop_quit (bus_context_get_loop (context)); - break; } } @@ -467,7 +464,6 @@ main (int argc, char **argv) #ifdef SIGHUP _dbus_set_signal_handler (SIGHUP, signal_handler); #endif - _dbus_set_signal_handler (SIGTERM, signal_handler); #ifdef DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX _dbus_set_signal_handler (SIGIO, signal_handler); #endif /* DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX */