summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-16 15:10:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-16 15:10:31 +0000
commitb8a8063ebca5b5262072d199566df3683f0eef08 (patch)
tree2339c001cf696b1e0af765442dbed6915fe48b67 /perl-install
parent6af0826ec8c3c8373e7cd5b9550fa1841fdd4496 (diff)
downloaddrakx-backup-do-not-use-b8a8063ebca5b5262072d199566df3683f0eef08.tar
drakx-backup-do-not-use-b8a8063ebca5b5262072d199566df3683f0eef08.tar.gz
drakx-backup-do-not-use-b8a8063ebca5b5262072d199566df3683f0eef08.tar.bz2
drakx-backup-do-not-use-b8a8063ebca5b5262072d199566df3683f0eef08.tar.xz
drakx-backup-do-not-use-b8a8063ebca5b5262072d199566df3683f0eef08.zip
fix server lookup (#8846)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakclock2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index 8e98d523a..24df856ac 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -146,7 +146,7 @@ if (-e $ntpfile && -e $ntpdlock) {
$ntp = timezone::ntp_server();
$ntp and ntp_widget_state(1);
foreach my $s (@$servers) {
- $s =~ /\Q$ntp/ and $fullntp = $s;
+ $s =~ /^\Q$ntp / and $fullntp = $s;
$fullntp and last
}
$fullntp |= $ntp;