diff options
author | Martin Schwenke <martin@meltin.net> | 2019-08-12 16:11:13 +1000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-08-26 07:06:19 +0000 |
commit | 756bea42e0c051580330680dd6350cefb102a21c (patch) | |
tree | 95545a7d1e42953b72d97c023920184a147d199f /ctdb | |
parent | 80bd467affbda1d962f4deb3caa8a42c6531425d (diff) | |
download | samba-756bea42e0c051580330680dd6350cefb102a21c.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>
(cherry picked from commit 758962a0d435fa595e3917b860a8fd266d122550)
Diffstat (limited to 'ctdb')
-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" ;; |