Make sure toast daemon doesn't block its death signal

This commit is contained in:
Kevin Lange 2014-04-29 00:52:31 -07:00
parent 646f824aa6
commit 5d4b0df120

View File

@ -132,7 +132,13 @@ static void * toastd_handler(void * garbage) {
}
}
void sig_pass(int sig) {
(void)sig;
}
static void * closer_handler(void * garbage) {
signal(SIGWINCH, sig_pass);
while (!exit_app) {
time_t now = time(NULL);