diff --git a/functions/menu.sh b/functions/menu.sh index 45ce389c..25b3e5af 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -59,7 +59,8 @@ menu(){ echo "Example: -u 3 -b 14 -rSvsp -i nextcloud" read -rt 600 -p "Please type the flags you wish, with options above: " update_selection - exec bash "$script_name" $update_selection + args=("$update_selection") + exec bash "$script_name" "${args[@]}" ;; *)