Update installbeta.sh

This commit is contained in:
alvinlollo
2025-04-14 16:39:00 +10:00
committed by GitHub
parent 9b94871715
commit 648126f631
+2 -2
View File
@@ -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."