Skip to content

Instantly share code, notes, and snippets.

@knollet
knollet / void_TMOUT.sh
Created August 13, 2024 10:09
bash TMOUT
## source this
## the DEBUG-trap seems to be executed AFTER the setting of the alarm, so this seems to help
function my_clear_alarm() {
trap true SIGALRM
}
trap my_clear_alarm DEBUG