[PATCH] Fix askmethod + stage2= (#516973, #519288)

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

 



Adds to Jeremy's 1fbf3c9d8d550fc01ae34528533377adc19d1611.
Don't want to steal bugs, but I've been messing with method selection
and I am about to commit 2 patches for it. Tested.
---
 loader/loader.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 713b538..d2cca51 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1294,6 +1294,12 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
         } else if (loaderData->stage2Data) {
             skipMethodDialog = 1;
         }
+    } else {
+        /* Needed because they have already been set when parsing cmdline.
+         * (Leaks a little.)
+         */
+        loaderData->method = -1;
+        loaderData->stage2Data = NULL;
     }
 
     i = 0;
-- 
1.6.0.6

_______________________________________________
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