mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
hook.sh: line 217: $1: unbound variable #597
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kjpetrie on GitHub (Feb 20, 2023).
Attempting to renew with LetsEncrypt in FreeBSD 13.1-RELEASE-p7 produces the error:
/usr/local/etc/dehydrated/hook.sh: line 217: $1: unbound variable
Line 217 appears to be the following function:
@lukas2511 commented on GitHub (Feb 20, 2023):
Can you give any more details? From what I see the hook scripts aren't even configured by default in the freebsd dehydrated port. And the hook script should never be called without an argument so
$1should always be defined.@kjpetrie commented on GitHub (Feb 20, 2023):
Thank you! It seems a new FreeBSD package built by my poudriere on 17th January inserted a hook.sh script which was called automatically since I have /usr/local/etc/dehydrated configured as CONFG_D. Without that the config files including domains.txt can't be found.