From: Greg Sabino Mullane Date: Tue, 25 Jan 2011 02:35:29 +0000 (-0500) Subject: Duh X-Git-Tag: 2.18.0~125 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=76fffeee08d1b38f532f74a0b935b5fe4d66b742;p=check_postgres.git Duh --- diff --git a/check_postgres.pl b/check_postgres.pl index 04e2b1a30..478726f77 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2377,7 +2377,7 @@ sub validate_range { ndie msg('range-warnbig'); } $warning = int $warning if length $warning; - $critical = int $critical if length $warning; + $critical = int $critical if length $critical; } elsif ('restringex' eq $type) { if (! length $critical and ! length $warning) {