summaryrefslogtreecommitdiffstats
path: root/plugins/check_pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_pgsql.c')
-rw-r--r--plugins/check_pgsql.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 8cbaaeeb..9e6b0f41 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -214,6 +214,8 @@ int main(int argc, char **argv) {
214 214
215 mp_check overall = mp_check_init(); 215 mp_check overall = mp_check_init();
216 216
217 mp_set_ok_summary(&overall, "Postgres check is OK");
218
217 mp_subcheck sc_connection = mp_subcheck_init(); 219 mp_subcheck sc_connection = mp_subcheck_init();
218 220
219 if (PQstatus(conn) == CONNECTION_BAD) { 221 if (PQstatus(conn) == CONNECTION_BAD) {