summaryrefslogtreecommitdiffstats
path: root/perl-install/timezone.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-03 14:30:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-03 14:30:10 +0000
commit7c9805a5ab7c9b7fb99d4f5deab313c33451ac67 (patch)
treeb47e5518f309de0595153a194888d81f474e6a8e /perl-install/timezone.pm
parent22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3 (diff)
downloaddrakx-7c9805a5ab7c9b7fb99d4f5deab313c33451ac67.tar
drakx-7c9805a5ab7c9b7fb99d4f5deab313c33451ac67.tar.gz
drakx-7c9805a5ab7c9b7fb99d4f5deab313c33451ac67.tar.bz2
drakx-7c9805a5ab7c9b7fb99d4f5deab313c33451ac67.tar.xz
drakx-7c9805a5ab7c9b7fb99d4f5deab313c33451ac67.zip
(ntp_server): fix
Diffstat (limited to 'perl-install/timezone.pm')
-rw-r--r--perl-install/timezone.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm
index 16b888e6e..7d4da5b53 100644
--- a/perl-install/timezone.pm
+++ b/perl-install/timezone.pm
@@ -35,6 +35,7 @@ sub ntp_server {
substInFile {
if (/^#?\s*server\s+(\S*)/ && $1 ne '127.127.1.0') {
$_ = $server ? "server $server\n" : "#server $1\n";
+ $server = '';
}
} $f;
} else {