mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-25 02:21:02 +01:00
also remove tempfile for curl's stderr on error
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user