Commit 79ff846e authored by Lukas Schauer's avatar Lukas Schauer

don't try to delete DOMAINS_TXT on early failure when not yet set

parent 36a03146
...@@ -251,7 +251,7 @@ http_request() { ...@@ -251,7 +251,7 @@ http_request() {
fi fi
# remove temporary domains.txt file if used # remove temporary domains.txt file if used
[[ -n "${PARAM_DOMAIN:-}" ]] && rm "${DOMAINS_TXT}" [[ -n "${PARAM_DOMAIN:-}" && -n "${DOMAINS_TXT:-}" ]] && rm "${DOMAINS_TXT}"
exit 1 exit 1
fi fi
......
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