summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index e053481cb..2e8f1eec3 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -150,7 +150,9 @@ If you don't want to use the auto detection, deselect the checkbox.
}
}
};
- $in->exit(0) if $@ =~ /wizcancel/;
+ if (my $err = $@) {
+ $err =~ /wizcancel/ ? $in->exit(0) : die $err;
+ }
step_2_1:
my $nb = keys %{$netc->{internet_cnx}};