From 702325b8c152a100c19bff1145314bbdb1ba6ba3 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 13:41:02 -0600 Subject: [PATCH] array --- functions/menu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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[@]}" ;; *)