summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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",