[PATCH] We can't prompt for new network info in cmdline mode (#526262).

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

 



---
 loader/net.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index 397b1a8..6c0e1d0 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -461,6 +461,14 @@ int readNetConfig(char * device, iface_t * iface,
         newtPopWindow();
 
         if (i > 0) {
+            if (FL_CMDLINE(flags)) {
+                fprintf(stderr, _("There was an error configuring your network "
+                                  "interface."));
+                fprintf(stderr, _("\nThis cannot be corrected in cmdline mode.\n"
+                                  "Halting.\n"));
+                exit(1);
+            }
+
             newtWinMessage(_("Network Error"), _("Retry"),
                            _("There was an error configuring your network "
                              "interface."));
-- 
1.6.4.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