set tmpdir (#56)

* set tmpdir

* array fix
This commit is contained in:
terem42
2023-10-01 19:39:54 +02:00
committed by GitHub
parent 99a63e2892
commit b08730586a
6 changed files with 13 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ set -o errexit
set -o pipefail
set -o nounset
export TMPDIR=/tmp
# Variables
v_bpool_name=
v_bpool_tweaks=
@@ -532,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