mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
ipset: scripts maintenance
This commit is contained in:
@@ -24,7 +24,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
|
||||
|
Reference in New Issue
Block a user