mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
[PR #311] [CLOSED] Fixing "$1 not set" for HANDLER var #797
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?
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/311
Author: @a5a351e7
Created: 11/24/2016
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
85458c4Fixing "$1 not set" for HANDLER var📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
docs/examples/hook.sh(+4 -2)📄 Description
Just cloned your repository, configured config and all necessary files.
Started a test with
dehydrated -f /etc/dehydrated/config -cand got the followingSo it seems that the script is called without parameter and got this exception. So I added in my pull request a simple if-else-statement!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.