array fix

This commit is contained in:
terem42
2023-10-01 19:39:11 +02:00
parent e08def6710
commit 5be3baa3df

View File

@@ -534,7 +534,7 @@ echo "======= create zfs pools and datasets =========="
pools_mirror_option= pools_mirror_option=
if [[ ${#v_selected_disks[@]} -gt 1 ]]; then if [[ ${#v_selected_disks[@]} -gt 1 ]]; then
if dialog --defaultno --yesno "Do you want to use mirror mode for ${v_selected_disks[@]}?" 30 100; then if dialog --defaultno --yesno "Do you want to use mirror mode for ${v_selected_disks[*]}?" 30 100; then
pools_mirror_option=mirror pools_mirror_option=mirror
fi fi
fi fi