mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Fix to version information block printed in globalblacklist.conf
This commit is contained in:
parent
80fbba1430
commit
819bc41b7d
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ now="$(date)"
|
|||
end=$(date +%s.%N)
|
||||
echo $_startmarker >> $_tmpnginxA
|
||||
runtime=$(python -c "print(${end} - ${start})")
|
||||
printf "********************************************\n#### Version: "$MY_GIT_TAG"\n#### Bad Referrer Count: "$BAD_REFERRERS"\n#### Bad Bot Count: "$BAD_BOTS"\n********************************************\n" >> $_tmpnginxA
|
||||
printf "############################################\n### Version: "$MY_GIT_TAG"\n### Updated: "$now"\n### Generated In: "$runtime" seconds\n### Bad Referrer Count: "$BAD_REFERRERS"\n### Bad Bot Count: "$BAD_BOTS"\n############################################\n" >> $_tmpnginxA
|
||||
echo $_endmarker >> $_tmpnginxA
|
||||
IFS=$LASTUPDATEIFS
|
||||
mv $_tmpnginxA $_inputdbA
|
||||
|
@ -57,7 +57,7 @@ now="$(date)"
|
|||
end=$(date +%s.%N)
|
||||
echo $_startmarker >> $_tmpnginxB
|
||||
runtime=$(python -c "print(${end} - ${start})")
|
||||
printf "********************************************\n#### Version: "$MY_GIT_TAG"\n#### Bad Referrer Count: "$BAD_REFERRERS"\n#### Bad Bot Count: "$BAD_BOTS"\n********************************************\n" >> $_tmpnginxB
|
||||
printf "############################################\n### Version: "$MY_GIT_TAG"\n### Updated: "$now"\n### Generated In: "$runtime" seconds\n### Bad Referrer Count: "$BAD_REFERRERS"\n### Bad Bot Count: "$BAD_BOTS"\n############################################\n" >> $_tmpnginxB
|
||||
echo $_endmarker >> $_tmpnginxB
|
||||
IFS=$LASTUPDATE2IFS
|
||||
mv $_tmpnginxB $_inputdbA
|
||||
|
|
Loading…
Add table
Reference in a new issue