diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-16 15:10:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-16 15:10:31 +0000 |
commit | b8a8063ebca5b5262072d199566df3683f0eef08 (patch) | |
tree | 2339c001cf696b1e0af765442dbed6915fe48b67 | |
parent | 6af0826ec8c3c8373e7cd5b9550fa1841fdd4496 (diff) | |
download | drakx-b8a8063ebca5b5262072d199566df3683f0eef08.tar drakx-b8a8063ebca5b5262072d199566df3683f0eef08.tar.gz drakx-b8a8063ebca5b5262072d199566df3683f0eef08.tar.bz2 drakx-b8a8063ebca5b5262072d199566df3683f0eef08.tar.xz drakx-b8a8063ebca5b5262072d199566df3683f0eef08.zip |
fix server lookup (#8846)
-rwxr-xr-x | perl-install/standalone/drakclock | 2 |
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; |