lego hook execution with bash -c #13
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?
Maybe we should use
bash -chere:That assumes that
$LEGO_POST_RENEWAL_HOOKis executable with bash - right now, it can be any (shell) executable, as long as it is executable, it works.One could make the argument, that the same arguments usually passed with f.ex. certbot etc should be passed as positional arguments.
After the proposed change, every executable (with proper shebang) would still work as well as inline bash scripts.