mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
update-ngxblocker: print all curl errors
* also print curl errors besides 404 / timeouts
This commit is contained in:
parent
88179046f5
commit
287d8688cd
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ main() {
|
||||||
;;
|
;;
|
||||||
22) printf "...${BOLDRED}ERROR 404: $url${RESET}\n\n";;
|
22) printf "...${BOLDRED}ERROR 404: $url${RESET}\n\n";;
|
||||||
28) printf "...${BOLDRED}ERROR TIMEOUT: $url${RESET}\n\n";;
|
28) printf "...${BOLDRED}ERROR TIMEOUT: $url${RESET}\n\n";;
|
||||||
|
*) printf "...${BOLDRED}ERROR CURL: ($retval){RESET}\n\n";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# download new bots.d / conf.d files
|
# download new bots.d / conf.d files
|
||||||
|
|
Loading…
Add table
Reference in a new issue