mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-03-13 22:12:41 +03:00
diag: dwc: Fix check downloaded dpi suites
This commit is contained in:
@@ -96,10 +96,6 @@ if [ "$(head -c 2 "$TEST_SUITE_FN" 2>/dev/null)" != "$(printf '[\n')" ]; then
|
|||||||
echo "ERROR: incorrect format of \"$TEST_SUITE_URL\""
|
echo "ERROR: incorrect format of \"$TEST_SUITE_URL\""
|
||||||
return 19
|
return 19
|
||||||
fi
|
fi
|
||||||
if [ "$(tail -c 2 "$TEST_SUITE_FN" 2>/dev/null)" != "$(printf ']\n')" ]; then
|
|
||||||
echo "ERROR: incorrect format of \"$TEST_SUITE_URL\""
|
|
||||||
return 19
|
|
||||||
fi
|
|
||||||
|
|
||||||
TEST_SUITE='
|
TEST_SUITE='
|
||||||
gosuslugi.ru | @ | 40000 | https://gosuslugi.ru/__jsch/static/script.js
|
gosuslugi.ru | @ | 40000 | https://gosuslugi.ru/__jsch/static/script.js
|
||||||
|
|||||||
Reference in New Issue
Block a user