From 575db9300a38e1ccf28fc3d37b505594b54f8550 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 2 Sep 2025 13:24:02 +0200 Subject: [PATCH] mwan3: init.d/mwan3: fix GNU grep warning about stray \ GNU grep complains: grep: warning: stray \ before : Drop the \, confirmed with busybox grep backslash is non-significant (the output is the same). Closes: https://github.com/openwrt/packages/issues/25198 Signed-off-by: Fabian Groffen --- net/mwan3/files/etc/init.d/mwan3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mwan3/files/etc/init.d/mwan3 b/net/mwan3/files/etc/init.d/mwan3 index 33a1f46e53..8512af7d9e 100755 --- a/net/mwan3/files/etc/init.d/mwan3 +++ b/net/mwan3/files/etc/init.d/mwan3 @@ -77,7 +77,7 @@ stop_service() { $IP route flush table $tid &> /dev/null done - for rule in $($IP rule list | grep -E '^[1-3][0-9]{3}\:' | cut -d ':' -f 1); do + for rule in $($IP rule list | grep -E '^[1-3][0-9]{3}:' | cut -d ':' -f 1); do $IP rule del pref $rule &> /dev/null done table="$($IPT -S)" -- 2.30.2