From 1e1bc0b1af7a9d40ff8af3bc40050d4629ed0e8f Mon Sep 17 00:00:00 2001 From: Hadaq Date: Mon, 20 Jun 2016 19:24:33 +0200 Subject: [PATCH] direction check, mt --- thresholds/thresholds_automatic.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.43.0