disabled trap by default, to prevent unintended background exits
This commit is contained in:
parent
45574b031f
commit
994c79c403
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue