From: hadaq Date: Wed, 14 Nov 2012 23:00:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a5ab95c7dc47dd8d1fe0559f4e2ab96175a7e8e2;p=daqtools.git *** empty log message *** --- 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;