diff --git a/tools/modules/functions/check_distro_status.sh b/tools/modules/functions/check_distro_status.sh index 84fbc304e..cc045d800 100644 --- a/tools/modules/functions/check_distro_status.sh +++ b/tools/modules/functions/check_distro_status.sh @@ -24,7 +24,7 @@ function check_distro_status() { fi # Check if the OS is listed as supported in the DISTRO_STATUS - if grep -qE "^${DISTROID}=.*supported" "$DISTRO_STATUS"; then + if grep -qE "^${DISTROID}=.*supported" "$DISTRO_STATUS" 2> /dev/null; then echo "The current $ARMBIAN ($DISTROID) is supported." else BACKTITLE="Warning: The current OS ($DISTROID) is not supported or not listed"