From a5ab95c7dc47dd8d1fe0559f4e2ab96175a7e8e2 Mon Sep 17 00:00:00 2001 From: hadaq Date: Wed, 14 Nov 2012 23:00:26 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/get.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cts/htdocs/thresh/get.pl b/cts/htdocs/thresh/get.pl index 7750804..9d7e55c 100755 --- a/cts/htdocs/thresh/get.pl +++ b/cts/htdocs/thresh/get.pl @@ -31,6 +31,7 @@ if($amount != 1) { } else { my $chunk = $amount/$split; + if($amount%$split) {$chunk++;} my $i = 0; my @hits; do { @@ -60,4 +61,4 @@ else { } -exit 1; \ No newline at end of file +exit 1; -- 2.43.0