Doesn't handle ctrl-c SIGINT in loops
Opened this issue · 0 comments
nancest commented
If you put this at the beginning of your script, then ctrl-c would behave as expected while the script is in the loop:
trap "echo Exited!; exit;" SIGINT SIGTERM
Opened this issue · 0 comments
If you put this at the beginning of your script, then ctrl-c would behave as expected while the script is in the loop:
trap "echo Exited!; exit;" SIGINT SIGTERM