exit when no usable disks are found

svn path=/trunk/; revision=62467
This commit is contained in:
Christoph von Wittich 2014-03-09 14:19:56 +00:00
parent 7165a7c35b
commit d9eab6f7d4

View file

@ -1472,6 +1472,11 @@ SelectPartitionPage(PINPUT_RECORD Ir)
/* FIXME: show an error dialog */
return QUIT_PAGE;
}
else if (IsListEmpty (&PartitionList->DiskListHead))
{
MUIDisplayError(ERROR_NO_HDD, Ir, POPUP_WAIT_ENTER);
return QUIT_PAGE;
}
}
DrawPartitionList(PartitionList);