From 6eefaf34f4876bfd9f4326f230533cfb772aeb70 Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Thu, 22 Aug 2002 18:28:18 +0000 Subject: fix 'previous' button strange behavior --- perl-install/network/network.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 5d1e1c784..0cd0189a4 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -306,7 +306,7 @@ notation (for example, 1.2.3.4)."); my $onboot = 1; my @fields = qw(IPADDR NETMASK); $::isStandalone or $in->set_help('configureNetworkIP'); - $in->ask_from(_("Configuring network device %s", $intf->{DEVICE}), + my $retvalue = $in->ask_from(_("Configuring network device %s", $intf->{DEVICE}), (_("Configuring network device %s", $intf->{DEVICE}) . ($module ? _(" (driver %s)", $module) : '') ."\n\n") . $text, [ { label => _("IP address"), val => \$intf->{IPADDR}, disabled => sub { $pump } }, @@ -352,6 +352,7 @@ notation (for example, 1.2.3.4)."); } ); $intf->{ONBOOT} = bool2yesno($onboot); + return $retvalue; } sub configureNetworkNet { -- cgit v1.2.1