X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=75a6f26f727a43dc2a3e66b25751de8ed90cbe68;hb=89a1a98bb918fdf856d34900610413c79e32897e;hp=1ca6f57ab2d4092e0b98862caa0f6380113046ab;hpb=ef708570f1f42d9bb54ddc5b7b0432de4f761eb0;p=distro-setup diff --git a/btrbk-run b/btrbk-run index 1ca6f57..75a6f26 100644 --- a/btrbk-run +++ b/btrbk-run @@ -489,13 +489,14 @@ 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 printf "%s" "$opt" else printf " %s" "$opt" + fi done echo fi