munin_events: fix plugin having too much output

in 56cd2c926c "&> /dev/null" was converted
to posix in an invalid way, should have been ">/dev/null 2>&1"
This commit is contained in:
Andreas Perhab 2021-11-19 09:01:23 +01:00 committed by Lars Kruse
parent 74c7fc3d86
commit f184607bbc
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ values() {
do_value 'munin_error' 'ERROR'
do_value 'munin_fatal' 'FATAL'
# Set offset
"$logtail_bin" "$muninupdate" > /dev/null 1>&2
"$logtail_bin" "$muninupdate" >/dev/null 2>&1
chmod 640 "${muninupdate}.offset"
}