瀏覽代碼

Clarify saturnin__wraphook() docstring

Alois Mahdal 7 年之前
父節點
當前提交
e617c5b27f
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/saturnin.sh.skel

+ 4
- 4
src/saturnin.sh.skel 查看文件

@@ -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