summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {