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