diff options
author | Joe <joe@joelightning.com> | 2012-03-25 19:54:20 +0100 |
---|---|---|
committer | Joe <joe@joelightning.com> | 2012-03-25 19:54:20 +0100 |
commit | a9be90e398773d7038e69aab8dfd0568d9f8df21 (patch) | |
tree | 17b74cef13df7d0d5afaac333c5faeb9b1ca5d90 | |
parent | c3cefc7ecac63f0f6325f75d861866c807181912 (diff) |
Updated the curl command to not spam stuff on stderror and to have a user-agent string of `pbot-ng'.
-rwxr-xr-x | chili_change_detector | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chili_change_detector b/chili_change_detector index 231b12b..81d886d 100755 --- a/chili_change_detector +++ b/chili_change_detector @@ -12,7 +12,7 @@ function get_feed_make_array { # Download the feed. feed=$( mktemp ) - curl "${atom_url}" > "${feed}" || + curl --user-agent "pbot-ng" "${atom_url}" 2> /dev/null > "${feed}" || { rm "${feed}" ; return 1 ; } unset bugs |