summaryrefslogtreecommitdiffstats
path: root/perl-install/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r--perl-install/network.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm
index c4818e758..598949fff 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -265,6 +265,7 @@ sub configureNetwork {
#- my $wait = $o->wait_message(_("Hostname"), _("Determining host name and domain..."));
#- network::guessHostname($o->{prefix}, $o->{netc}, $o->{intf});
#- }
+ $last or return;
if ($last->{BOOTPROTO} =~ /^(dhcp|bootp)$/) {
my $dhcp_hostname = $netc->{HOSTNAME};
$::isInstall and $in->set_help('configureNetworkHostDHCP');