[PATCH master] Fix setting of loaderData->method from repo= cmdline option.

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

 



There was double "repo=" if branch. The second one (few lines
below the removed) is the right one.
---
 loader/loader.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 737386c..f30adb9 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1060,8 +1060,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
             } else if (!strcasecmp(k, "method")) {
                 logMessage(WARNING, "method= is deprecated.  Please use repo= instead.");
                 loaderData->instRepo = g_strdup(v);
-            } else if (!strcasecmp(k, "repo")) {
-                loaderData->instRepo = g_strdup(v);
             } else if (!strcasecmp(k, "stage2")) {
                 logMessage(WARNING, "stage2= is deprecated.  Please use repo= instead.");
                 flags |= LOADER_FLAGS_ASKMETHOD;
-- 
1.7.2

_______________________________________________
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