diff --git a/migrate2rocky/migrate2rocky.sh b/migrate2rocky/migrate2rocky.sh index f77da42..d2e36b4 100644 --- a/migrate2rocky/migrate2rocky.sh +++ b/migrate2rocky/migrate2rocky.sh @@ -265,7 +265,7 @@ repoinfo () { fi declare -gA repoinfo_results=() while IFS=" :" read -r name val; do - if [[ -z $name ]] && [[ -z $val ]]; then + if [[ ! ( $name || $val) ]]; then continue fi if [[ -z $name ]]; then