diff --git a/lib/ulib/sysinfos b/lib/ulib/sysinfos index 7303798..1362ece 100644 --- a/lib/ulib/sysinfos +++ b/lib/ulib/sysinfos @@ -382,10 +382,8 @@ function check_sysinfos() { if array_contains "$sysdistvar_" "$sysdist_"; then r_=0 check_=skip - break + [ "$sysdist_" == "$value_" ] && break elif [ "$sysdist_" == "$value_" ]; then - r_=0 - check_=skip break fi done @@ -424,10 +422,8 @@ function check_sysinfos() { if array_contains "$sysvervar_" "$sysver_"; then r_=0 check_=skip - break + [ "$sysver_" == "$value_" ] && break elif [ "$sysver_" == "$value_" ]; then - r_=0 - check_=skip break fi done