From cc0ff34951159a6cce93a46fd58a4fe22624c2b8 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 22 Jun 2017 14:34:36 +1000 Subject: [PATCH] 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 (cherry picked from commit 2fa069e870c0e6f1daa2a08be5aacac7b1063a5e) --- ctdb/config/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/config/functions b/ctdb/config/functions index 7e37bbb..3826324 100755 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -150,7 +150,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 } -- 2.9.4