From: Arran Cudbard-Bell Date: Fri, 9 Jan 2026 20:42:50 +0000 (+0000) Subject: raduat: Simplify grep invocation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4036665f6d52b88bc4a818e0f9ddc4abc7459bf7;p=thirdparty%2Ffreeradius-server.git raduat: Simplify grep invocation --- diff --git a/scripts/util/raduat b/scripts/util/raduat index 2b552b8645f..12bfee23bf0 100755 --- a/scripts/util/raduat +++ b/scripts/util/raduat @@ -371,7 +371,7 @@ for i in "${test_files[@]}"; do fi # If the test file is marked as serial only, then we need to serialise the test - if head -n 1 "$i" | grep -i -E '^#\s*serial' > /dev/null; then + if head -n 1 "$i" | grep -qiE '^#\s*serial'; then DEBUG "$i marked as serial only" serial_file_args+=" -f \"${i}:${expected}\"" continue