make it shutdown on signals
This commit is contained in:
parent
42e406d09d
commit
ad80ef0f66
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue