From: Martin Schwenke Date: Mon, 3 Jul 2023 03:26:20 +0000 (+1000) Subject: ctdb-tools: Avoid ShellCheck warning SC2317 X-Git-Tag: talloc-2.4.1~98 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=aeb5b0adfa7322602a4395ba8199fa2b05f0cf07;p=thirdparty%2Fsamba.git ctdb-tools: Avoid ShellCheck warning SC2317 New in ShellCheck 0.9.0: SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly). Signed-off-by: Martin Schwenke Reviewed-by: Andreas Schneider --- diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode index 425db8047cc..f04d33f9c3f 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -254,6 +254,8 @@ get_nodes () done } +# shellcheck disable=SC2317 +# push() called indirectly via $ONNODE_SSH push () { local host="$1"