1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

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 <mschwenke@ddn.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Martin Schwenke 2023-07-03 13:26:20 +10:00 committed by Martin Schwenke
parent 6965e77268
commit aeb5b0adfa

View File

@ -254,6 +254,8 @@ get_nodes ()
done
}
# shellcheck disable=SC2317
# push() called indirectly via $ONNODE_SSH
push ()
{
local host="$1"