From 9f20f36d299f2eaef9578f7362a27defa8ef88a3 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 23:22:55 -0600 Subject: [PATCH] test --- functions/menu.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index 0e5310b9..de2182d4 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -172,12 +172,13 @@ case $selection in update_selection+=("-p") ;; 99) - count=1 + count=2 echo "restarting" - for i in "${update_selection[@]:1}" + for i in "${update_selection[@]:2}" do unset "update_selection[$count]" echo "$i removed" + ((count++)) done continue ;;