summaryrefslogtreecommitdiffstats
path: root/ctdb/tools/onnode
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-10-07 14:59:46 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-10-18 11:51:06 +1100
commit2e3febe283f5d6f24a2527d0e221eb46d1ca3c22 (patch)
tree8838eacb439b3d51fccb51d3e5d2c97c92ec4af6 /ctdb/tools/onnode
parent4b034a6401d3ce50bd277b578e4a8d85f67e4a02 (diff)
downloadsamba-2e3febe283f5d6f24a2527d0e221eb46d1ca3c22.tar.gz
samba-2e3febe283f5d6f24a2527d0e221eb46d1ca3c22.tar.xz
samba-2e3febe283f5d6f24a2527d0e221eb46d1ca3c22.zip
onnode: unset EXTRA_SSH_OPTS when using fakessh
This case was never tested and fakessh obviously won't handle the extra arguments. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 02184bd5b9ab94cdf2b9ff92e56a509f92f9e4aa)
Diffstat (limited to 'ctdb/tools/onnode')
-rwxr-xr-xctdb/tools/onnode1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode
index 804ab09cc2..4bd8243153 100755
--- a/ctdb/tools/onnode
+++ b/ctdb/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"