diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-13 21:55:43 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-13 21:55:43 (GMT) |
commit | 9db763963f3993f923619a2147e4313b09f12134 (patch) | |
tree | 7de03645f44f5b5ec42bb8894b0c5b3165196e25 /plugins-root | |
parent | 20b598da6ee238a608c17524c4483fea1b14a4fa (diff) | |
download | monitoring-plugins-9db763963f3993f923619a2147e4313b09f12134.tar.gz |
utils.sh: Don't define $ECHO
In utils.sh, $ECHO was set to printf(1) or echo(1), depending on whether
printf(1) is available in /usr/bin. This resulted in various bugs, as
printf(1) cannot be used in the same way as echo(1).
Thanks to Trevor Hemsley for reporting one of those bugs: If $ECHO was
set to printf(1), check_log stumbled when reporting a log line with a
"%" character.
Diffstat (limited to 'plugins-root')
0 files changed, 0 insertions, 0 deletions