From 994c79c403345223b33a85996376bbedc4dbdc6d Mon Sep 17 00:00:00 2001 From: BuildTools Date: Mon, 18 Apr 2022 23:41:46 -0700 Subject: [PATCH] disabled trap by default, to prevent unintended background exits --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 1e9b962..c5bb400 100644 --- a/functions +++ b/functions @@ -279,7 +279,7 @@ ctrl_c(){ } # 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 # user using up, down and enter keys and returns the chosen option.