Fix ^C propagation

This commit is contained in:
Nick Chambers 2024-05-15 09:35:39 -05:00
parent e9a5a06d43
commit 420ce7bbdc
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ cd() {
}
{
trap true EXIT # A permanently temporary workaround, since ^C outside of a
# command appears to propagate to the child process.
trap cattle-reset-elapsed USR1
trap cattle-increase-timeout USR2
last_cmd_at=0 timeout=3600