page: handle interrupt note
This commit is contained in:
parent
c9e79c27a6
commit
686f9fa1db
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,8 @@ catchnote(void *, char *msg)
|
||||||
return 1;
|
return 1;
|
||||||
if(strstr(msg, "alarm"))
|
if(strstr(msg, "alarm"))
|
||||||
return 1;
|
return 1;
|
||||||
|
if(strstr(msg, "interrupt"))
|
||||||
|
return 1;
|
||||||
if(strstr(msg, "kill"))
|
if(strstr(msg, "kill"))
|
||||||
exits("killed");
|
exits("killed");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue