fix raid partitions

This commit is contained in:
Tobias Powalowski 2022-01-27 09:34:43 +01:00
parent cbd4e5bb61
commit 4e84bfff8e

View file

@ -833,7 +833,7 @@ _createraid()
DIALOG --infobox "Creating ${RAIDDEVICE}..." 0 0
mdadm --create ${RAIDDEVICE} ${RAIDOPTIONS} ${DEVICES} >${LOG} 2>&1 || \
(DIALOG --msgbox "Error creating ${RAIDDEVICE} (see ${LOG} for details)." 0 0; return 1)
if echo "${RAIDDEVICE}" | grep -q "/md_d[0-9"]; then
if [[ ${RAID_PARTITION} == "1" ]]; then
# switch for mbr usage
set_guid
if [[ "${GUIDPARAMETER}" = "" ]]; then