From 9db763963f3993f923619a2147e4313b09f12134 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 13 Jan 2014 22:55:43 +0100 Subject: 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. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 5f88ff53..d7fe8f33 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ This file documents the major additions and syntax changes between releases. 1.6 ... WARNINGS check_procs now ignores its parent process to avoid unexpected results when invoked via certain shells + utils.sh no longer defines ECHO 1.5 2nd October 2013 ENHANCEMENTS -- cgit v1.2.3-74-g34f1