Ignore SIGALRM before restart

If new wmfs process receive SIGALRM before set the handler, wmfs quits
Bug found by Erus
This commit is contained in:
Philippe Pepiot 2010-12-18 14:58:29 +01:00
parent dae3019185
commit dbe7588c0a

View File

@ -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);