From: Martin Schwenke Date: Thu, 14 Jul 2016 02:28:17 +0000 (+1000) Subject: ctdb-scripts: Avoid shellcheck warning SC2124 (string=array) X-Git-Tag: tdb-1.3.10~254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dfa2c1d5d205d1281060732547996954fd1b1f02;p=thirdparty%2Fsamba.git ctdb-scripts: Avoid shellcheck warning SC2124 (string=array) SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode index 635cd0d5b1c..e7317b75f30 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -104,7 +104,7 @@ parse_options () [ $# -lt 2 ] && usage nodespec="$1" ; shift - command="$@" + command="$*" } echo_nth ()