From c08ba8b3bc6c8fd87800f52364d12099a7dfbf11 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 25 Jan 2023 11:00:21 +0100 Subject: [PATCH] fix PV cleaning --- usr/lib/archboot/installer/blockdevices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/blockdevices.sh b/usr/lib/archboot/installer/blockdevices.sh index d979adcfc..20b744342 100644 --- a/usr/lib/archboot/installer/blockdevices.sh +++ b/usr/lib/archboot/installer/blockdevices.sh @@ -607,7 +607,7 @@ _createpv() while [[ "${_DEV}" != "DONE" ]]; do _DEVNUMBER="$((_DEVNUMBER + 1))" # clean loop from used partition and options - _DEVS="_DEVS|$(${_LSBLK} NAME,SIZE -d "${dev}")||" + _DEVS="_DEVS|$(${_LSBLK} NAME,SIZE -d "${_DEV}")||" # add more devices #shellcheck disable=SC2086 _dialog --menu "Select additional device number ${_DEVNUMBER} for physical volume:" 15 60 12 ${_DEVS} DONE _ 2>"${_ANSWER}" || return 1