conf_disk: corrected blank var and version bump

This commit is contained in:
levasseur
2021-09-21 14:48:02 +02:00
parent 7b6ea9f8a1
commit 6192811184

View File

@@ -16,7 +16,7 @@
# * CALCDRV: Target drives, preferably through ID.
# ------------------------------------------------------------------------------
export VER_conf_disks="0.0.8"
export VER_conf_disks="0.0.9"
export DEP_conf_disks="upgrade_dist"
# ------------------------------------------------------------------------------
@@ -40,7 +40,7 @@ conf_zfs()
# Create filesystem
prnt I "Création du pool zcalc..."
if [[ $FORCEBLANK ]]; then
if [[ $FORCEBLANK == true ]]; then
local opt="--force"
for drv in $CALCDRV; do
if [[ ! $(sfdisk -d $drv 2>&1) == "" ]]; then