diff options
| author | David Cantrell <dcantrell@redhat.com> | 2010-02-10 08:14:53 -1000 |
|---|---|---|
| committer | David Cantrell <dcantrell@redhat.com> | 2010-02-11 06:17:08 -1000 |
| commit | ab075dc4365045f260fc87bbd63766761827c1f3 (patch) | |
| tree | 3bc3135f16141fe13a6a55b05bb3fc93913ee447 /loader | |
| parent | aae36be8000253af3e154a3257a968e9d8a21604 (diff) | |
| download | anaconda-ab075dc4365045f260fc87bbd63766761827c1f3.tar.gz anaconda-ab075dc4365045f260fc87bbd63766761827c1f3.tar.xz anaconda-ab075dc4365045f260fc87bbd63766761827c1f3.zip | |
Prompt user for install method when going back to STEP_METHOD.
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.
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c index 1729af1dc..b42eb71c3 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; } |
