diff options
author | Martin Schwenke <martin@meltin.net> | 2019-08-12 16:11:13 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2019-08-14 09:11:34 +0000 |
commit | 758962a0d435fa595e3917b860a8fd266d122550 (patch) | |
tree | 58ba37530d692f41f8f305841b0453f47adc490c /ctdb/tools/onnode | |
parent | dee721af72ec68f45c7a230ea0c1a0a3ebe1c7f6 (diff) | |
download | samba-758962a0d435fa595e3917b860a8fd266d122550.tar.gz |
ctdb-tools: Drop 'o' option from getopts command
Commit 90de5e0594b9180226b9a13293afe31f18576b3d remove the processing
for this option but forgot to remove it from the getopts command.
Versions of ShellCheck >= 0.4.7 warn on this, so it is worth fixing.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14086
RN: Fix onnode test failure with ShellCheck >= 0.4.7
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tools/onnode')
-rwxr-xr-x | ctdb/tools/onnode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode index e143ba2d4d4..d6595fff4aa 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -72,7 +72,7 @@ parse_options () { local opt - while getopts "cf:hno:pqvPi?" opt ; do + while getopts "cf:hnpqvPi?" opt ; do case "$opt" in c) current=true ;; f) ctdb_nodes_file="$OPTARG" ;; |