Révision f184607b
munin_events: fix plugin having too much output
in 56cd2c926ca99e396a0b6c2ebee76394bb4de195 "&> /dev/null" was converted
to posix in an invalid way, should have been ">/dev/null 2>&1"
| plugins/munin/munin_events | ||
|---|---|---|
| 87 | 87 |
do_value 'munin_error' 'ERROR' |
| 88 | 88 |
do_value 'munin_fatal' 'FATAL' |
| 89 | 89 |
# Set offset |
| 90 |
"$logtail_bin" "$muninupdate" > /dev/null 1>&2
|
|
| 90 |
"$logtail_bin" "$muninupdate" >/dev/null 2>&1
|
|
| 91 | 91 |
chmod 640 "${muninupdate}.offset"
|
| 92 | 92 |
} |
| 93 | 93 |
|
Formats disponibles : Unified diff