sh: Ctrl-C interrupts running turn instead of exiting
This commit is contained in:
parent
54092a6ea4
commit
dd4e5a677a
|
|
@ -192,8 +192,8 @@ S=$MOUNT/s/$id
|
|||
|
||||
fn sigintr {
|
||||
printf '\n' >[1=2]
|
||||
if(is_idle) exit 0
|
||||
echo stop > $S/ctl
|
||||
exit 0
|
||||
}
|
||||
|
||||
chat_off=0
|
||||
|
|
|
|||
Loading…
Reference in New Issue