From 6287e4f11e89abf82d31cfbd92ca79a315157a53 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 23 Feb 2004 15:51:32 +0000 Subject: (del_intf) when no network configuration is configured, just report it --- perl-install/standalone/drakconnect | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/standalone/drakconnect') 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", -- cgit v1.2.1