X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=75a6f26f727a43dc2a3e66b25751de8ed90cbe68;hb=e168eaa6f27cc556b7edfb9148f80905d26e21f6;hp=79ace6a17341d16ee3be575b5f03c8aa2afb0fde;hpb=86560196eb4ccc90a7c1d903de47fcb887656de4;p=distro-setup diff --git a/btrbk-run b/btrbk-run index 79ace6a..75a6f26 100644 --- a/btrbk-run +++ b/btrbk-run @@ -489,7 +489,7 @@ if $verbose; then if [[ $cmd_arg != run ]]; then opts_show+=(cmd_arg=$cmd_arg) fi - if (( $opts_show >= 1 )); then + if (( ${#opts_show[@]} >= 1 )); then first=true for opt in ${opts_show[@]}; do if $first; then