Disable status script timer on reload (instead of ignoring signal)
This commit is contained in:
parent
99e85cbfc2
commit
c817b7277b
@ -269,7 +269,10 @@ void
|
||||
uicb_reload(uicb_t cmd)
|
||||
{
|
||||
(void)cmd;
|
||||
signal(SIGALRM, SIG_IGN);
|
||||
struct itimerval notimer = { { 0, 0}, { 0, 0 } };
|
||||
/* disable status timer */
|
||||
if (estatus)
|
||||
setitimer(ITIMER_REAL, ¬imer, NULL);
|
||||
quit();
|
||||
|
||||
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user