post-unlock — Notification of a successful path unlock.
The post-unlock hook runs after one or more paths have been unlocked. It is typically used to send email notification of the unlock event.
If the post-unlock hook returns a
nonzero exit status, the unlock will
not be aborted since it has already
completed. However, anything that the hook printed
stderr will be marshalled back to the
client, making it easier to diagnose hook failures.
The command-line arguments passed to the hook program, in order, are:
Authenticated username of the person who unlocked the paths
Additionally, the list of paths unlocked is passed to the hook program via standard input, one path per line.