projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea0a7f
)
Duh
author
Greg Sabino Mullane
<
[email protected]
>
Tue, 25 Jan 2011 02:35:29 +0000
(21:35 -0500)
committer
Greg Sabino Mullane
<
[email protected]
>
Tue, 25 Jan 2011 02:35:29 +0000
(21:35 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 04e2b1a30f8c850b80a753c8eaf7fcb3579fd4e9..478726f77bbef2a614ed2619d0dbdc610c5dcd25 100755
(executable)
--- 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) {