From e4c0d23c1a0299b0ae90d62addc40a6048ebb83a Mon Sep 17 00:00:00 2001 From: Tearran Date: Thu, 5 Dec 2024 18:46:50 +0000 Subject: [PATCH] add redirect --- tools/modules/functions/check_distro_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/modules/functions/check_distro_status.sh b/tools/modules/functions/check_distro_status.sh index 84fbc304..cc045d80 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"