scripts: Fix script_log() regression
authorMartin Schwenke <martin@meltin.net>
Tue, 23 Apr 2013 03:56:15 +0000 (13:56 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 6 May 2013 05:43:16 +0000 (15:43 +1000)
commitbbd0ed0e2979a8f7f31d2170f0a1d99863c70c99
tree03dc65c1c4539aa8fa33be970a92eff1be9d00cd
parent27a5b78c8e3b38ba6d94f5bd9fc7f81b7c5aa3b1
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)
ctdb/config/functions