sh: fix signal handler name: sigint not sigintr
This commit is contained in:
parent
2c4d8a0782
commit
2a98363b99
|
|
@ -190,7 +190,7 @@ if(~ $_picked 0) {
|
|||
|
||||
S=$MOUNT/s/$id
|
||||
|
||||
fn sigintr {
|
||||
fn sigint {
|
||||
if(is_idle) exit 0
|
||||
echo stop > $S/ctl
|
||||
exec $0 -session $id
|
||||
|
|
|
|||
Loading…
Reference in New Issue