From 02398c167e4751a52354384e4da79f5c57b8fb74 Mon Sep 17 00:00:00 2001 From: juronja <101410098+juronja@users.noreply.github.com> Date: Fri, 13 Feb 2026 14:03:47 +0000 Subject: [PATCH] preincrement --- vm/truenas-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/truenas-vm.sh b/vm/truenas-vm.sh index f8f8cc60e..4984ef794 100644 --- a/vm/truenas-vm.sh +++ b/vm/truenas-vm.sh @@ -308,7 +308,7 @@ function advanced_settings() { if [[ ! "$FILENAME" =~ (RC|BETA) ]]; then last_stable_index=$(((current_item * 3) + 2)) fi - ((current_item++)) + ((++current_item)) done < <(truenas_iso_lookup | sort -V) if [ ${#ISOARRAY[@]} -eq 0 ]; then