summaryrefslogtreecommitdiffstats
path: root/loader/net.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-09-29 11:15:07 -0400
committerChris Lumens <clumens@redhat.com>2009-09-29 11:15:07 -0400
commit9451e1f2d10456940da29730ec6a0b115b426a5b (patch)
treeb1710c341879829b44d582dbfa8bc09d519fb261 /loader/net.c
parent73b2d06a6bc324b0c679606c9b9e196f1c99c435 (diff)
downloadanaconda-9451e1f2d10456940da29730ec6a0b115b426a5b.tar.gz
anaconda-9451e1f2d10456940da29730ec6a0b115b426a5b.tar.xz
anaconda-9451e1f2d10456940da29730ec6a0b115b426a5b.zip
We can't prompt for new network info in cmdline mode (#526262).
Diffstat (limited to 'loader/net.c')
-rw-r--r--loader/net.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/loader/net.c b/loader/net.c
index 397b1a820..6c0e1d07e 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."));