diff options
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
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{ |