Fixed unlinked variable.

This commit is contained in:
Raphael Numbus
2025-12-14 15:08:17 +01:00
parent bbed88b409
commit 2362fa1840
+1
View File
@@ -339,6 +339,7 @@ echo \"\${DISK_SIZE[@]}\"
SELECTED_BOOT_DISK=$(gum choose --limit 2 --header "$HEADER" "${GUM_PRINTED_ELEMENTS[@]}")
NUMBER_OF_BOOT_DISKS="0"
for i in $(seq 0 $((${#DISK_NAME[@]} - 1))); do
if printf '%s' "$SELECTED_BOOT_DISK" | grep -iq "${DISK_NAME[$i]}"; then
((NUMBER_OF_BOOT_DISKS++))