git.samba.org
/
amitay
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d430966
)
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
<martin@meltin.net>
Wed, 10 Dec 2014 04:06:08 +0000
(15:06 +1100)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit
2d480792e7d0b3f6628186dc77f54b708e315dd1
)
tools/onnode
patch
|
blob
|
history
diff --git
a/tools/onnode
b/tools/onnode
index 96d569a26442a9d49fae848eb88e14b1dd274f9d..2ca3113b9d44705ff2d7f0a64c7f1334bc1df166 100755
(executable)
--- a/
tools/onnode
+++ b/
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
}