diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index d8c09290a..0dfe48e7c 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -1367,15 +1367,14 @@ EOF return 1 fi DIALOG --msgbox "GRUB was successfully installed." 0 0 + S_GRUB=1 if [ "$(blkid -c /dev/null | grep TYPE=\"mdraid\")" ]; then DIALOG --defaultno --yesno "You have your system installed on software raid?\nAnswer 'YES' to install grub to another hard disk." 0 0 if [ $? -eq 0 ]; then S_GRUB="" - else - S_GRUB=1 fi else - S_GRUB=1 + fi done }