Skip to content

Commit

Permalink
array fix
Browse files Browse the repository at this point in the history
  • Loading branch information
terem42 committed Oct 1, 2023
1 parent e08def6 commit 5be3baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hetzner-debian12-zfs-setup .sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5be3baa

Please sign in to comment.