From b061e902d9f530122f957df23ad9ba23ac4213a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Fri, 9 Aug 2024 20:05:24 +0800 Subject: [PATCH] Update cattools.sh --- cattools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cattools.sh b/cattools.sh index ef42e6b..4d99e9b 100644 --- a/cattools.sh +++ b/cattools.sh @@ -15,7 +15,7 @@ if [ $(id -u) != "0" ]; then fi openwrt_release=$(cat /etc/openwrt_release) -if ! grep -qi "OpenWrt|QWRT" <<<"$openwrt_release"; then +if ! grep -qi -E "OpenWrt|QWRT" <<<"$openwrt_release"; then echo "Error: Your system is not supported cattools!" exit 1 fi