Redirect header to PLUGIN_RESULT file…

This commit is contained in:
Jeremy Gardais 2021-01-13 13:11:02 +01:00
parent 88c0b2766f
commit c2519ebc5c
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -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