From 287d8688cda27f589f86bcefddcbd6eb6741bee5 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Sat, 26 Aug 2017 20:10:21 +0000 Subject: [PATCH] update-ngxblocker: print all curl errors * also print curl errors besides 404 / timeouts --- update-ngxblocker | 1 + 1 file changed, 1 insertion(+) diff --git a/update-ngxblocker b/update-ngxblocker index f786d382b..93fb04547 100755 --- a/update-ngxblocker +++ b/update-ngxblocker @@ -289,6 +289,7 @@ main() { ;; 22) printf "...${BOLDRED}ERROR 404: $url${RESET}\n\n";; 28) printf "...${BOLDRED}ERROR TIMEOUT: $url${RESET}\n\n";; + *) printf "...${BOLDRED}ERROR CURL: ($retval){RESET}\n\n";; esac # download new bots.d / conf.d files