summaryrefslogtreecommitdiffstats
path: root/lib/network/drakconnect/delete.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/drakconnect/delete.pm')
-rw-r--r--lib/network/drakconnect/delete.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/network/drakconnect/delete.pm b/lib/network/drakconnect/delete.pm
index e8ac7ab..b8d0689 100644
--- a/lib/network/drakconnect/delete.pm
+++ b/lib/network/drakconnect/delete.pm
@@ -10,7 +10,7 @@ sub del_intf {
my ($intf2delete, $failure);
if (!keys %{$net->{ifcfg}}) {
$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);
+ return;
}
my @all_cards = network::connection::ethernet::get_eth_cards($modules_conf);
my %names = network::connection::ethernet::get_eth_cards_names(@all_cards);
@@ -63,7 +63,6 @@ sub del_intf {
},
});
$wiz->safe_process($in);
- $in->exit(0);
}
1;