From: Hadaq Date: Mon, 20 Jun 2016 17:24:33 +0000 (+0200) Subject: direction check, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=1e1bc0b1af7a9d40ff8af3bc40050d4629ed0e8f;p=daqtools.git direction check, mt --- diff --git a/thresholds/thresholds_automatic.pl b/thresholds/thresholds_automatic.pl index b6dd1d6..dbdd04f 100755 --- a/thresholds/thresholds_automatic.pl +++ b/thresholds/thresholds_automatic.pl @@ -86,7 +86,7 @@ if ($offset) { #print "called with offset: $offset\n"; } -if ($default_direction =! 1 && $default_direction =! -1) { +if ($default_direction != 1 && $default_direction != -1) { die "direction can only be 1 or -1"; }