diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-29 03:31:29 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-29 03:31:29 +0000 |
commit | 6fb8179451476fa41d145f507b41e155c1046cbd (patch) | |
tree | 4e7d364e090d49e4c02da83f23b4e00a04f5a848 | |
parent | 00ef08c7618fe7180fda7c9b2731c2c17a75ec76 (diff) | |
download | drakx-6fb8179451476fa41d145f507b41e155c1046cbd.tar drakx-6fb8179451476fa41d145f507b41e155c1046cbd.tar.gz drakx-6fb8179451476fa41d145f507b41e155c1046cbd.tar.bz2 drakx-6fb8179451476fa41d145f507b41e155c1046cbd.tar.xz drakx-6fb8179451476fa41d145f507b41e155c1046cbd.zip |
do not crash if automatic mode isn't used
-rw-r--r-- | mdk-stage1/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index ef173f992..355227863 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -666,7 +666,7 @@ static char * interface_select(void) return *interfaces; /* this can't be done in ask_from_list_comments_auto because "auto" isn't in the interfaces list */ - if (streq(get_auto_value("interface"), "auto")) { + if (IS_AUTOMATIC && streq(get_auto_value("interface"), "auto")) { choice = auto_select_up_intf(); if (choice) return choice; |