From dbe7588c0accee1d9b70bb39c7446997020d97e2 Mon Sep 17 00:00:00 2001 From: Philippe Pepiot Date: Sat, 18 Dec 2010 14:58:29 +0100 Subject: [PATCH] Ignore SIGALRM before restart If new wmfs process receive SIGALRM before set the handler, wmfs quits Bug found by Erus --- src/wmfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wmfs.c b/src/wmfs.c index a6dde54..a74ba93 100644 --- a/src/wmfs.c +++ b/src/wmfs.c @@ -253,6 +253,7 @@ void uicb_reload(uicb_t cmd) { (void)cmd; + signal(SIGALRM, SIG_IGN); quit(); for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);