From a9a59e9580e6f22f85d759a50cd1b0a7ff653542 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 9 Oct 2024 07:31:48 +0200 Subject: [PATCH] Function process_input: return 1 on fail, don't exit with 1 --- lib/armbian-configng/config.ng.functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/armbian-configng/config.ng.functions.sh b/lib/armbian-configng/config.ng.functions.sh index 730ca7420..8c3cc200c 100644 --- a/lib/armbian-configng/config.ng.functions.sh +++ b/lib/armbian-configng/config.ng.functions.sh @@ -775,7 +775,7 @@ menu_options+=( function process_input() { local input="$1" if [ "$input" = "No" ]; then - exit 1 + return 1 fi }