Update check_postgres.pl
authormintsoft <rob@mintsoft.net>
Wed, 28 Aug 2013 09:03:17 +0000 (10:03 +0100)
committermintsoft <rob@mintsoft.net>
Wed, 28 Aug 2013 09:03:17 +0000 (10:03 +0100)
commit02b1e78cecde5c695deea1b6e6d6991dbda65cbb
tree94c2e4063b7f9e837fd38342d27c18cb97d4ec1c
parentf24ab83d14ec1648117260ea08363abe6e18edc4
Update check_postgres.pl

Fixing issue with SQL steps in check_pgagent_jobs for jobs which perform deletes, these return non-0 yet are still successful.
Behaviour should now be that <>0 on batch is a failure, but only -1 is a failure for sql steps.
check_postgres.pl