Commit 730930a1 authored by Simon Ruderich's avatar Simon Ruderich

also remove tempfile for curl's stderr on error

parent 130ea6ab
......@@ -51,6 +51,7 @@ _request() {
fi
if [ -s "${temperr}" ]; then
echo " + ERROR: An error occured while sending ${1}-request to ${2} ($(<"${temperr}"))" >&2
rm -f "${temperr}"
exit 1
fi
rm -f "${temperr}"
......
Markdown is supported
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