git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c774e17
)
onnode: unset EXTRA_SSH_OPTS when using fakessh
author
Martin Schwenke
<martin@meltin.net>
Fri, 7 Oct 2011 03:59:46 +0000
(14:59 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 18 Oct 2011 00:51:06 +0000
(11:51 +1100)
This case was never tested and fakessh obviously won't handle the
extra arguments.
Signed-off-by: Martin Schwenke <martin@meltin.net>
tools/onnode
patch
|
blob
|
history
diff --git
a/tools/onnode
b/tools/onnode
index 804ab09cc2d38793022952ea6863e8b8a274d9c5..4bd824315394bac448306abe3a19af3c4173550b 100755
(executable)
--- a/
tools/onnode
+++ b/
tools/onnode
@@
-339,6
+339,7
@@
$current && command="cd $PWD && $command"
ssh_opts=
if [ -n "$CTDB_NODES_SOCKETS" ] ; then
SSH=fakessh
+ EXTRA_SSH_OPTS=""
else
# Could "2>/dev/null || true" but want to see errors from typos in file.
[ -r "${ctdb_base}/onnode.conf" ] && . "${ctdb_base}/onnode.conf"