git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdaa829
)
ctdb-scripts: Tweak NAT gateway list output format
author
Martin Schwenke
<martin@meltin.net>
Mon, 18 Apr 2016 04:48:10 +0000
(14:48 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Mon, 25 Apr 2016 05:10:14 +0000
(07:10 +0200)
Avoid gratuitous trailing whitespace.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb_natgw
patch
|
blob
|
history
diff --git
a/ctdb/tools/ctdb_natgw
b/ctdb/tools/ctdb_natgw
index d778c2de4c4bed9e20e7d986198432af9f21b90e..5c05886fedbad339d2d061932e0e31bf0d7ba08d 100755
(executable)
--- a/
ctdb/tools/ctdb_natgw
+++ b/
ctdb/tools/ctdb_natgw
@@
-143,7
+143,7
@@
nodes_list ()
if [ "$_ip" = "$_master_ip" ] ; then
_options="MASTER${_options:+,}${_options}"
fi
- printf "${_ip}
\t
${_options}\n"
+ printf "${_ip}
${_options:+\t}
${_options}\n"
done <<EOF
$natgw_nodes
EOF