summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-23 15:51:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-23 15:51:32 +0000
commit6287e4f11e89abf82d31cfbd92ca79a315157a53 (patch)
tree53fa5626e46594f274d9809a7c325c1521a71d02
parentc07111e6d9a84aff33831380a6be8ffebd0a5588 (diff)
downloaddrakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar
drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar.gz
drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar.bz2
drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar.xz
drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.zip
(del_intf) when no network configuration is configured, just report it
-rwxr-xr-xperl-install/standalone/drakconnect4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index c1ee41144..2aadfed92 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -601,6 +601,10 @@ sub add_intf() {
sub del_intf() {
my ($intf2delete, $faillure);
+ if (!keys %$intf) {
+ $in->ask_warn(N("Error"), N("No ethernet network adapter has been detected on your system. Please run the hardware configuration tool."));
+ $in->exit(0);
+ }
my $wiz =
{
defaultimage => "drakconnect.png",