summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 097c4cbd6..ad5274aaf 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -5518,7 +5518,7 @@ sub check_pgagent_jobs {
# Determine max time to examine.
my $seconds = $critical;
- $seconds = $warning if length $warning and
+ $seconds = $warning if length $warning and
(! length $critical or $warning > $critical);
$SQL = qq{