fixes
[distro-setup] / btrbk-run
index 79ace6a17341d16ee3be575b5f03c8aa2afb0fde..75a6f26f727a43dc2a3e66b25751de8ed90cbe68 100644 (file)
--- 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