From 3c3e670d83e2f6a514d40db2cc25107b80f0087d Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 13 Nov 2013 14:13:52 +1100 Subject: ctdb-tests/integration: try_command_on_node() shouldn't lose onnode options Currently it only passes the last (non -v) option seen. It should pass them all. Signed-off-by: Martin Schwenke Reviewed-by: Michael Adam --- ctdb/tests/scripts/integration.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctdb/tests/scripts') diff --git a/ctdb/tests/scripts/integration.bash b/ctdb/tests/scripts/integration.bash index 040a36048d..7dbccbcbde 100644 --- a/ctdb/tests/scripts/integration.bash +++ b/ctdb/tests/scripts/integration.bash @@ -155,7 +155,7 @@ try_command_on_node () if [ "$nodespec" = "-v" ] ; then verbose=true else - onnode_opts="$nodespec" + onnode_opts="${onnode_opts}${onnode_opts:+ }${nodespec}" fi nodespec="$1" ; shift done -- cgit