|
@@ -371,11 +371,11 @@ saturnin__version() {
|
371
|
371
|
|
372
|
372
|
saturnin__wraphook() {
|
373
|
373
|
#
|
374
|
|
- # Wrap command "$@" in hooks
|
|
374
|
+ # Wrap command $@ in hooks 'pre' and 'post'
|
375
|
375
|
#
|
376
|
|
- # Run pre hook, then "$@", then post hook. Always exit
|
377
|
|
- # with status of "$@", even if hooks fail. Ignore
|
378
|
|
- # post-hook if "$@" failed.
|
|
376
|
+ # Run pre hook, then command $@, then post hook. Always exit with
|
|
377
|
+ # status of the payload command, even if hooks fail. Ignore post-hook
|
|
378
|
+ # if payload command failed.
|
379
|
379
|
#
|
380
|
380
|
local es=0
|
381
|
381
|
saturnin__runhook pre
|