From 139cb500118a70b5dd3e24e6ffaa32efeabb34eb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 30 Jul 2014 23:15:25 +0200 Subject: [PATCH] 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. --- src/installer/main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/installer/main.c b/src/installer/main.c index 2e0c7dd412..2a5122e1af 100644 --- a/src/installer/main.c +++ b/src/installer/main.c @@ -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. -- 2.39.2