aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-02-23 02:48:38 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-02-23 02:48:38 +0000
commit8bcd390392cba5b58e21d71686933823d5c62054 (patch)
tree5d5bc8f8eaa9426932b33fd871b83661ef9d2dfd
parent49c15e2dec5463b4a4f785015376238df389dd17 (diff)
downloadpaludis-8bcd390392cba5b58e21d71686933823d5c62054.tar.gz
paludis-8bcd390392cba5b58e21d71686933823d5c62054.tar.xz
Also document new failure behaviour.
-rw-r--r--doc/hooks.html.skel6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/hooks.html.skel b/doc/hooks.html.skel
index daa349d..4167ed3 100644
--- a/doc/hooks.html.skel
+++ b/doc/hooks.html.skel
@@ -20,7 +20,8 @@ that is executed when a particular well defined action occurs.</p>
<p>There are currently four categories of hook:</p>
<ul>
- <li>General hooks. These have access to a limited environment.</li>
+ <li>General hooks. These have access to a limited environment. If
+ a hook returns a non-zero exit code, the action will be aborted.</li>
<li>Ebuild phase hooks. These have <code>ebuild</code> in the hook name, and
have full access to the ebuild environment (including the ability to call
@@ -30,7 +31,8 @@ that is executed when a particular well defined action occurs.</p>
<code>einfo</code>, <code>ewarn</code> etc.</li>
<li>Merger / Unmerger hooks. These are used when installing and uninstalling
- content to the live filesystem.</li>
+ content to the live filesystem. If a hook returns a non-zero exit
+ code, the action will be aborted.</li>
</ul>
<h3>Available Hooks</h3>