From 9508673e00ebdf6d49c57c7fe51f06c02af41c2f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 20 Apr 2022 16:40:53 +0900 Subject: [PATCH] node check: tweak --upstream --nagios output No data follows the pipe, so omit it and add missing line break. --- repmgr-action-node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-action-node.c b/repmgr-action-node.c index f709ca63..5ba65d2e 100644 --- a/repmgr-action-node.c +++ b/repmgr-action-node.c @@ -1535,7 +1535,7 @@ do_node_check_upstream(PGconn *conn, OutputMode mode, t_node_info *node_info, Ch { case OM_NAGIOS: { - printf("REPMGR_UPSTREAM_SERVER %s: %s | ", + printf("REPMGR_UPSTREAM_SERVER %s: %s\n", output_check_status(status), details.data); }