From 2309076a709d25b35b71da1f04a168521312f264 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 13 Jun 2022 15:34:07 -0600 Subject: [PATCH] syntax --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 409f2dbf..5de1f109 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -27,7 +27,7 @@ git fetch count=0 for i in ${ARGS[@]} do - [[ "$i" == "--self-update" ]] && unset "${ARGS[$count]}" + [[ "$i" == "--self-update" ]] && unset "ARGS[$count]" ((count++)) done exec bash "$SCRIPTNAME" "${ARGS[@]}"