From: Amitay Isaacs Date: Thu, 22 Jun 2017 04:34:36 +0000 (+1000) Subject: ctdb-scripts: Don't send empty argument string to logger X-Git-Tag: tdb-1.3.14~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa069e870c0e6f1daa2a08be5aacac7b1063a5e;p=thirdparty%2Fsamba.git ctdb-scripts: Don't send empty argument string to logger BUG: https://bugzilla.samba.org/show_bug.cgi?id=12856 This stops logger reading from stdin. Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Sat Jun 24 14:37:48 CEST 2017 on sn-devel-144 --- diff --git a/ctdb/config/functions b/ctdb/config/functions index 2c630bd11be..5df52c2be5a 100755 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -130,7 +130,7 @@ script_log () *) # Handle all syslog:* variants here too. There's no tool to do # the lossy things, so just use logger. - logger -t "ctdbd: ${_tag}" "$*" + logger -t "ctdbd: ${_tag}" "$@" ;; esac }