get_reestr size limit increase

This commit is contained in:
bolvan
2016-02-21 15:06:47 +03:00
parent be4ff2240a
commit d04c61eb30
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ ZURL=http://reestr.rublacklist.net/api/current
$EXEDIR/get_user.sh
curl --fail --max-time 60 --max-filesize 10485760 "$ZURL" >$ZREESTR && {
curl --fail --max-time 60 --max-filesize 20971520 "$ZURL" >$ZREESTR && {
dlsize=$(wc -c "$ZREESTR" | cut -f 1 -d ' ')
if test $dlsize -lt 204800; then
echo list file is too small. can be bad.