as wkj pointed out, notifyseton should not call notesetenable
This commit is contained in:
parent
17cdbb909b
commit
10b4555766
@ -206,8 +206,6 @@ notifyseton(int s, int on)
|
|||||||
sig = findsig(s);
|
sig = findsig(s);
|
||||||
if(sig == nil)
|
if(sig == nil)
|
||||||
return;
|
return;
|
||||||
if(on)
|
|
||||||
notesetenable(s, 1);
|
|
||||||
memset(&sa, 0, sizeof sa);
|
memset(&sa, 0, sizeof sa);
|
||||||
sa.sa_handler = on ? signotify : signonotify;
|
sa.sa_handler = on ? signotify : signonotify;
|
||||||
if(sig->restart)
|
if(sig->restart)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user