From 648126f631f7ea55d9088586bc98cea2d863e7ad Mon Sep 17 00:00:00 2001 From: alvinlollo <143326475+alvinlollo@users.noreply.github.com> Date: Mon, 14 Apr 2025 16:39:00 +1000 Subject: [PATCH] Update installbeta.sh --- installbeta.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installbeta.sh b/installbeta.sh index 48c5932..76d582d 100644 --- a/installbeta.sh +++ b/installbeta.sh @@ -50,8 +50,8 @@ done # Function to get user selections get_user_selection() { local selections - # Use --output-fd 3 to capture output correctly and 3>&1 1>&2 2>&3 for proper fd redirection - selections=$(whiptail "${whiptail_command[@]}" --output-fd 3 3>&1 1>&2 2>&3) + # Execute whiptail and capture the output + selections=$( "${whiptail_command[@]}" ) if [ $? -ne 0 ]; then echo "INFO No options selected. Exiting."