diff options
author | Martin Schwenke <martin@meltin.net> | 2013-04-23 13:56:15 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-05-06 15:43:16 +1000 |
commit | bbd0ed0e2979a8f7f31d2170f0a1d99863c70c99 (patch) | |
tree | 03dc65c1c4539aa8fa33be970a92eff1be9d00cd /ctdb | |
parent | 27a5b78c8e3b38ba6d94f5bd9fc7f81b7c5aa3b1 (diff) | |
download | samba-bbd0ed0e2979a8f7f31d2170f0a1d99863c70c99.tar.gz samba-bbd0ed0e2979a8f7f31d2170f0a1d99863c70c99.tar.xz samba-bbd0ed0e2979a8f7f31d2170f0a1d99863c70c99.zip |
scripts: Fix script_log() regression
5940a2494e9e43a83f2bca098bd04dfc1a8f2e93 makes script_log() always
pass a message to logger, so script_log() can no longer log stdin.
Put all the tag fu in the actual tag so the message argument is empty
if no message was passed.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 9dee4c84273633b9ad82e94dabbf0e6f86edbcef)
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/config/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/functions b/ctdb/config/functions index b4450c38b5e..13d4327754c 100755 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -83,7 +83,7 @@ script_log () esac if $_using_syslog ; then - logger -t "ctdbd" "${_tag}: $*" + logger -t "ctdbd: ${_tag}" $* else { if [ -n "$*" ] ; then |