From c2519ebc5c3320ccea03c0706fba0baebf817a5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 13 Jan 2021 13:11:02 +0100 Subject: [PATCH] =?UTF-8?q?Redirect=20header=20to=20PLUGIN=5FRESULT=20file?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xymon/plugins/client/ext/maco.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xymon/plugins/client/ext/maco.sh b/xymon/plugins/client/ext/maco.sh index fb366f1..4497d6b 100755 --- a/xymon/plugins/client/ext/maco.sh +++ b/xymon/plugins/client/ext/maco.sh @@ -241,14 +241,14 @@ main() { # {{{ ## If any previous file is empty if is_file_empty "${PLUGIN_RESULT}" || is_file_empty "${PLUGIN_STATE}"; then ## Add HTML header for this part - add_header "Compare version" + add_header "Compare version" >> "${PLUGIN_RESULT}" ## (re)check Maco update get_maco_update ## Analyze Maco update result (add color,…) analyze_maco_update ## Add HTML header for this part - add_header "Pending update" + add_header "Pending update" >> "${PLUGIN_RESULT}" ## Check for pending update for Maco check_pending_update ## Check for urgent pending update for Maco