git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a5b78
)
scripts: Fix script_log() regression
author
Martin Schwenke
<martin@meltin.net>
Tue, 23 Apr 2013 03:56:15 +0000
(13:56 +1000)
committer
Amitay Isaacs
<amitay@gmail.com>
Mon, 6 May 2013 05:43:16 +0000
(15:43 +1000)
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
patch
|
blob
|
history
diff --git
a/ctdb/config/functions
b/ctdb/config/functions
index b4450c38b5e425081a6c981ab9b439f3c7c0158d..13d4327754ca75635d4337e8eabebdbfbc8d8f9c 100755
(executable)
--- 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