From 5be3baa3dff2a9952420e25da765e8e57bd69031 Mon Sep 17 00:00:00 2001 From: terem42 <9478806+terem42@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:39:11 +0200 Subject: [PATCH] array fix --- hetzner-debian12-zfs-setup .sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hetzner-debian12-zfs-setup .sh b/hetzner-debian12-zfs-setup .sh index 0b0c7f2..80f517d 100644 --- a/hetzner-debian12-zfs-setup .sh +++ b/hetzner-debian12-zfs-setup .sh @@ -534,7 +534,7 @@ echo "======= create zfs pools and datasets ==========" pools_mirror_option= 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 fi fi