Explorar el Código

Clarify saturnin__wraphook() docstring

Alois Mahdal hace 7 años
padre
commit
e617c5b27f
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4
    4
      src/saturnin.sh.skel

+ 4
- 4
src/saturnin.sh.skel Ver fichero

371
 
371
 
372
 saturnin__wraphook() {
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
     local es=0
380
     local es=0
381
     saturnin__runhook pre
381
     saturnin__runhook pre