From: Michael Tremer Date: Tue, 12 Aug 2014 13:16:37 +0000 (+0200) Subject: installer: Fix filesystem selection. X-Git-Tag: v2.17-core87~103^2~51^2~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb3ff46eaa94c123f7874e2b9e97f5796db9f904;p=ipfire-2.x.git installer: Fix filesystem selection. When the user selected the OK button, the installation aborted instead of continuing. --- diff --git a/src/installer/main.c b/src/installer/main.c index ad4e0c54b2..77c1d67d73 100644 --- a/src/installer/main.c +++ b/src/installer/main.c @@ -523,7 +523,7 @@ 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 != 1) + if (rc == 2) goto EXIT; destination->filesystem = filesystems[fs_choice].fstype;