disabled trap by default, to prevent unintended background exits

This commit is contained in:
BuildTools 2022-04-18 23:41:46 -07:00
parent 45574b031f
commit 994c79c403

View file

@ -279,7 +279,7 @@ ctrl_c(){
} }
# ensure ctrl-c to cancel script ends the entire process and not just the current function # ensure ctrl-c to cancel script ends the entire process and not just the current function
trap ctrl_c INT # trap ctrl_c INT # Commented out by default to prevent abnormal background exits
# Renders a text based list of options that can be selected by the # Renders a text based list of options that can be selected by the
# user using up, down and enter keys and returns the chosen option. # user using up, down and enter keys and returns the chosen option.