Disable status script timer on reload (instead of ignoring signal)
This commit is contained in:
@@ -269,7 +269,10 @@ void
|
|||||||
uicb_reload(uicb_t cmd)
|
uicb_reload(uicb_t cmd)
|
||||||
{
|
{
|
||||||
(void)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();
|
quit();
|
||||||
|
|
||||||
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
|
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
|
||||||
|
|||||||
Reference in New Issue
Block a user