rwxrob-dot/scripts/trapterm
Rob Muhlestein 2ea0289e9f Rebase
2022-02-09 02:29:05 -05:00

5 lines
95 B
Bash
Executable File

#!/bin/sh
handler="$1"
trap "$handler; echo $'\b\b'; trap -- - SIGINT SIGTERM" SIGTERM SIGINT