mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-12 05:11:33 +01:00
fixed a bug that resulted in a deleted domains.txt when using incorrect parameters in combination with signcsr (fixes #597)
This commit is contained in:
@@ -562,7 +562,7 @@ http_request() {
|
||||
rm -f "${tempheaders}"
|
||||
|
||||
# remove temporary domains.txt file if used
|
||||
[[ -n "${PARAM_DOMAIN:-}" && -n "${DOMAINS_TXT:-}" ]] && rm "${DOMAINS_TXT}"
|
||||
[[ "${COMMAND:-}" = "sign_domains" && -n "${PARAM_DOMAIN:-}" && -n "${DOMAINS_TXT:-}" ]] && rm "${DOMAINS_TXT}"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user