summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index b3b4b70af..f3a896d23 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -469,8 +469,7 @@ sub setAuthentication {
$o->pkg_install("ypbind");
my $domain = $o->{netc}{NISDOMAIN};
$domain || $nis ne "broadcast" or die N("Can't use broadcast with no NIS domain");
- my $t = $domain ? "domain $domain" . ($nis ne "broadcast" && " server")
- : "ypserver";
+ my $t = $domain ? "domain $domain" . ($nis ne "broadcast" && " server") : "ypserver";
substInFile {
$_ = "#~$_" unless /^#/;
$_ .= "$t $nis\n" if eof;