Commit 2fa869d5 authored by Julian Brost's avatar Julian Brost
Browse files

use curl --silent

parent 0fc0c3fa
......@@ -12,7 +12,7 @@ url() {
fetch() {
t=`mktemp`
/usr/bin/curl -H 'X-Remote-User: nobody' "$(url "$1")" > $t
curl --silent -H 'X-Remote-User: nobody' "$(url "$1")" > $t
mv $t "${OUTDIR}/${2}.png"
}
......
......@@ -7,6 +7,6 @@ IMPORTFROM="https://cipmon.informatik.uni-erlangen.de/temperature"
for thing in day week month year; do
t=`mktemp`
curl "${IMPORTFROM}/${thing}.png" > $t
curl --silent "${IMPORTFROM}/${thing}.png" > $t
mv $t "${OUTDIR}/${thing}.png"
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment