Please check your hook script, it should exit cleanly without doing anything on unknown/new hooks #570

Closed
opened 2025-12-29 01:27:24 +01:00 by adam · 1 comment
Owner

Originally created by @jeffsani on GitHub (Mar 2, 2022).

Any help with this error would be appreciated.

Originally created by @jeffsani on GitHub (Mar 2, 2022). Any help with this error would be appreciated.
adam closed this issue 2025-12-29 01:27:24 +01:00
Author
Owner

@rjhenry commented on GitHub (Mar 2, 2022):

Your hook script doesn't exist cleanly with unknown hooks. Base your hook script off (for example) the example hook script.

Check is defined here.

Also, it should be noted when asking for help that it's best practise to share what you've done, what you're trying to do, and in this instance relevant parts of your hook script.

@rjhenry commented on GitHub (Mar 2, 2022): Your hook script doesn't exist cleanly with unknown hooks. Base your hook script off (for example) [the example hook script](https://github.com/dehydrated-io/dehydrated/blob/master/docs/examples/hook.sh). Check is defined [here](https://github.com/dehydrated-io/dehydrated/blob/784fb806c891979262eef9c8f38e3c10b825aefd/dehydrated#L303). Also, it should be noted when asking for help that it's best practise to share what you've done, what you're trying to do, and in this instance relevant parts of your hook script.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#570