From 95e23951b9a13246e651ddca5fd13a82761fe2a5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 17 Apr 2001 15:07:38 +0000 Subject: (setRootPassword): better ensure 'broadcast' insteaf of overriding --- perl-install/install_steps_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index e1cad7461..77cc33fe4 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -909,7 +909,7 @@ sub setRootPassword { ]) or return; if ($nis) { - $o->{authentication}{NIS} = 'broadcast'; + $o->{authentication}{NIS} ||= 'broadcast'; $o->ask_from_entries_refH('', _("Authentification NIS"), [ { label => _("NIS Domain"), val => \ ($o->{netc}{NISDOMAIN} ||= $o->{netc}{DOMAINNAME}) }, -- cgit v1.2.1