mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-07 07:33:26 +02:00
fixed exit_hook
This commit is contained in:
@@ -1054,11 +1054,11 @@ command_sign_domains() {
|
||||
# remove temporary domains.txt file if used
|
||||
[[ -n "${PARAM_DOMAIN:-}" ]] && rm -f "${DOMAINS_TXT}"
|
||||
|
||||
[[ -n "${HOOK}" ]] && "${HOOK}" "exit_hook"
|
||||
if [[ "${AUTO_CLEANUP}" == "yes" ]]; then
|
||||
echo "+ Running automatic cleanup"
|
||||
command_cleanup noinit
|
||||
fi
|
||||
[[ -n "${HOOK}" ]] && "${HOOK}" "exit_hook"
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user