diff --git a/functions/menu.sh b/functions/menu.sh index 1e178b3c..76276bf7 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -63,7 +63,7 @@ menu(){ read -rt 600 -p "Please type the number associated with the flag above: " current_selection if [[ $current_selection == 0 ]]; then - exec bash "$script_name" "${args[@]}" + exec bash "$script_name" "${update_selection[@]}" else update_selection+=("$current_selection")