Re: [PATCH 3/5] Prompt user for install method when going back to STEP_METHOD.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack.

On 02/10/2010 11:14 PM, David Cantrell wrote:
In STEP_DRIVER, if the user selects Back from the dialog saying no
devices of that type were found, we go back to STEP_LANG.  The problem
is that loaderData->method isn't reset to 1 in STEP_DRIVER when we go
back to STEP_METHOD.  That causes us to skip over the method selection
and since dir is still -1, we go back up to STEP_LANG.
---
  loader/loader.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 1729af1..b42eb71 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1399,6 +1399,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
                      break;
                  } else if (rc == 3) {
                      step = STEP_METHOD;
+                    loaderData->method = -1;
                      dir = -1;
                      break;
                  }

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux