From c1fe16763f28f382e6b2db81e80bb2892cb8f65c Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Fri, 3 Jun 2011 23:05:15 +0000 Subject: [PATCH] use the correct interval when sleeping... git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131282 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/poll-mirrors.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/scripts/poll-mirrors.pl b/dev-tools/scripts/poll-mirrors.pl index 85d9dc037c3..da4650eafa3 100755 --- a/dev-tools/scripts/poll-mirrors.pl +++ b/dev-tools/scripts/poll-mirrors.pl @@ -112,7 +112,7 @@ while (1) { my $stop = time(); my $sleep_interval = $interval - ($stop - $start); - sleep($interval) if ($sleep_interval > 0); + sleep($sleep_interval) if ($sleep_interval > 0); } sub check_mirrors {