installer: Go on when OK button is hit in FS selection

Hitting just the enter key proceeded. Navigating to the
OK button and hitting that one aborted the installation.
This commit is contained in:
Michael Tremer
2014-07-30 23:15:25 +02:00
parent 4c812463e4
commit 139cb50011

View File

@@ -504,11 +504,10 @@ int main(int argc, char *argv[]) {
rc = newtWinMenu(_("Filesystem Selection"), _("Please choose your filesystem:"),
50, 5, 5, 6, fs_names, &fs_choice, _("OK"), _("Cancel"), NULL);
if (rc == 0)
destination->filesystem = filesystems[fs_choice].fstype;
else
if (rc != 1)
goto EXIT;
destination->filesystem = filesystems[fs_choice].fstype;
}
// Setting up RAID if needed.