summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_update b/sfeed_update
index 4aa094c..96691cf 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -40,7 +40,7 @@ merge() {
# fetch a feed via HTTP/HTTPS etc.
# fetchfeed(url, name, feedfile)
fetchfeed() {
- if curl -f -s -S --max-time 15 -z "$3" "$1"; then
+ if curl -H 'User-Agent:' -f -s -S --max-time 15 -z "$3" "$1"; then
printf " OK %s %s\n" "$(date +'%H:%M:%S')" "$2" >&2
else
printf "FAIL %s %s\n" "$(date +'%H:%M:%S')" "$2" >&2