summaryrefslogtreecommitdiff
path: root/doc/exitcodes.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 15:10:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 15:10:36 +0000
commit523036ef1e6e4bd7047ec21a6e68b7508569db91 (patch)
tree2612ec7431849a5b5d2b8b926dc8479a0f02e9e4 /doc/exitcodes.html
parent6ead33f5fe46f38a63532daa95ec96bd39ecbfd8 (diff)
downloadexecline-523036ef1e6e4bd7047ec21a6e68b7508569db91.tar.xz
More conversion to xpathexec, make exit code change consistent across binaries
Diffstat (limited to 'doc/exitcodes.html')
-rw-r--r--doc/exitcodes.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/exitcodes.html b/doc/exitcodes.html
index 7463bd1..51902f1 100644
--- a/doc/exitcodes.html
+++ b/doc/exitcodes.html
@@ -94,5 +94,16 @@ a scion of <em>C</em> had problems. </li>
<li> Exact information is reported in the common case. </li>
</ul>
+<h2> Summary of common exit codes for execline programs </h2>
+
+<ul>
+ <li> 0: success. This code is rarely encountered, because most execline
+programs chainload into something else when they succeed, instead of exiting 0. </li>
+ <li> 100: wrong usage </li>
+ <li> 111: system call failed </li>
+ <li> 126: unable to chainload into another program (any other error than ENOENT) </li>
+ <li> 127: unable to chainload into another program (executable not found) </li>
+</ul>
+
</body>
</html>