From fc8af22d07c20f1bb40368c6681f34e471647b9e Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 5 Sep 2022 01:51:35 -0600 Subject: [PATCH] if nothing remains in array, return --- functions/update_apps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 89753cca..545dfd6b 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -43,6 +43,7 @@ do ((index++)) done +[[ ${#array[@]} == 0 ]] && return it=0 while_count=0