From b8a8063ebca5b5262072d199566df3683f0eef08 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 16 Mar 2004 15:10:31 +0000 Subject: fix server lookup (#8846) --- perl-install/standalone/drakclock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakclock') 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; -- cgit v1.2.1