diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-08-19 14:04:20 +0000 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-10-14 14:40:10 +0200 |
commit | d69d21b03634b8bfa3d4eb1ec0264205cc8072bf (patch) | |
tree | b2c7c198dd8b6f42d6fdf9ba939c4c503ed3b0c2 /completions | |
parent | f2a2dbbeb9a1f61d68e1fe475b0c3d3a9c89f7f3 (diff) | |
download | bubblewrap-d69d21b03634b8bfa3d4eb1ec0264205cc8072bf.tar.gz |
bash: Fix shellcheck warnings
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
Diffstat (limited to 'completions')
-rw-r--r-- | completions/bash/bwrap | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/bash/bwrap b/completions/bash/bwrap index 9389afd..59928a8 100644 --- a/completions/bash/bwrap +++ b/completions/bash/bwrap @@ -60,11 +60,11 @@ _bwrap() { --userns-block-fd " - if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W "$boolean_options $options_with_args" -- "$cur" ) ) - fi + if [[ "$cur" == -* ]]; then + COMPREPLY=( $( compgen -W "$boolean_options $options_with_args" -- "$cur" ) ) + fi - return 0 + return 0 } complete -F _bwrap bwrap |