git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c59d8
)
ctdb-tools: Bracket IP addresses in onnode (for IPv6)
author
Martin Schwenke
<martin@meltin.net>
Fri, 28 Nov 2014 10:49:08 +0000
(21:49 +1100)
committer
Martin Schwenke
<martins@samba.org>
Fri, 5 Dec 2014 20:02:40 +0000
(21:02 +0100)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/onnode
patch
|
blob
|
history
diff --git
a/ctdb/tools/onnode
b/ctdb/tools/onnode
index 96d569a26442a9d49fae848eb88e14b1dd274f9d..2ca3113b9d44705ff2d7f0a64c7f1334bc1df166 100755
(executable)
--- a/
ctdb/tools/onnode
+++ b/
ctdb/tools/onnode
@@
-320,8
+320,8
@@
push()
for f in $files ; do
$verbose && echo "Pushing $f"
case "$f" in
- /*) rsync "$f" "
${host}
:${f}" ;;
- *) rsync "${PWD}/${f}" "
${host}
:${PWD}/${f}" ;;
+ /*) rsync "$f" "
[${host}]
:${f}" ;;
+ *) rsync "${PWD}/${f}" "
[${host}]
:${PWD}/${f}" ;;
esac
done
}