1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 10:39:53 +00:00

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

View file

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