From 58e8c07a630eadef9a8e3037311b84bdcb24ca7a Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 15 Jan 2023 21:34:39 +0100 Subject: [PATCH] fix mdadm reset call --- 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 dbfb10988..c835d323e 100644 --- a/usr/lib/archboot/installer/blockdevices.sh +++ b/usr/lib/archboot/installer/blockdevices.sh @@ -311,8 +311,8 @@ _umountall() _stopmd() { + _DISABLEMD="" if grep -q ^md /proc/mdstat 2>/dev/null; then - _DISABLEMD="" _dialog --defaultno --yesno "Setup detected already running software raid devices...\n\nDo you want to delete ALL of them completely?\nWARNING: ALL DATA WILL BE LOST!" 0 0 && _DISABLEMD=1 if [[ -n "${_DISABLEMD}" ]]; then _umountall