From aeb5b0adfa7322602a4395ba8199fa2b05f0cf07 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Mon, 3 Jul 2023 13:26:20 +1000 Subject: [PATCH] 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 --- ctdb/tools/onnode | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.34.1