make it shutdown on signals

This commit is contained in:
Dana Jansens 2002-11-03 12:58:17 +00:00
parent 42e406d09d
commit ad80ef0f66

View file

@ -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: