From: Lukas Schauer Date: Sat, 12 Dec 2020 02:12:13 +0000 (+0100) Subject: Fixed small unassigned variable issue X-Git-Tag: v0.7.1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F795%2Fhead;p=thirdparty%2Fdehydrated.git Fixed small unassigned variable issue --- diff --git a/dehydrated b/dehydrated index 92c50e2..308a5b7 100755 --- a/dehydrated +++ b/dehydrated @@ -738,7 +738,7 @@ _exiterr() { if [ -n "${1:-}" ]; then echo "ERROR: ${1}" >&2 fi - [[ "${skip_exit_hook:-no}" = "no" ]] && [[ -n "${HOOK:-}" ]] && ("${HOOK}" "exit_hook" "${1}" || echo 'exit_hook returned with non-zero exit code!' >&2) + [[ "${skip_exit_hook:-no}" = "no" ]] && [[ -n "${HOOK:-}" ]] && ("${HOOK}" "exit_hook" "${1:-}" || echo 'exit_hook returned with non-zero exit code!' >&2) exit 1 }