ipset: scripts maintenance

This commit is contained in:
bol-van
2024-12-22 13:38:36 +03:00
parent 8aabc8b743
commit 42c52014ee
9 changed files with 13 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ dl()
echo list download failed : $1
exit 2
}
dlsize=$(LANG=C wc -c "$TMPLIST" | xargs | cut -f 1 -d ' ')
dlsize=$(LC_ALL=C LANG=C wc -c "$TMPLIST" | xargs | cut -f 1 -d ' ')
if test $dlsize -lt $3; then
echo list is too small : $dlsize bytes. can be bad.
exit 2