From: Dana Jansens Date: Sun, 3 Nov 2002 12:58:17 +0000 (+0000) Subject: make it shutdown on signals X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ad80ef0f667e3b72d9e35d7a93451a1e2dfa0ab6;p=chaz%2Fopenbox make it shutdown on signals --- diff --git a/src/openbox.cc b/src/openbox.cc index 1af59c25..4aac9ba5 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -71,7 +71,8 @@ void Openbox::signalHandler(int signal) case SIGTERM: case SIGPIPE: printf("Caught signal %d. Exiting.", signal); - // XXX: Make Openbox exit + instance->shutdown(); + break; case SIGFPE: case SIGSEGV: