summaryrefslogtreecommitdiff
path: root/doc/s6-linux-init-logouthookd.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-04-27 23:27:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-04-27 23:27:39 +0000
commit6f13cd197540af0bf5e87f87ab0e03548d9c5f64 (patch)
tree5ce691b38fe2a9d0033931a1e39e568c142966d1 /doc/s6-linux-init-logouthookd.html
parent31dcbd86ed7e34b4d8ea272ceb9c0a4cfac54c56 (diff)
downloads6-linux-init-6f13cd197540af0bf5e87f87ab0e03548d9c5f64.tar.xz
Doc fixes
Diffstat (limited to 'doc/s6-linux-init-logouthookd.html')
-rw-r--r--doc/s6-linux-init-logouthookd.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/s6-linux-init-logouthookd.html b/doc/s6-linux-init-logouthookd.html
index 51edca1..088f5d5 100644
--- a/doc/s6-linux-init-logouthookd.html
+++ b/doc/s6-linux-init-logouthookd.html
@@ -70,6 +70,20 @@ local service, which will do nothing but wait until the user's shell dies;
and when it happens, the user's utmp record will automatically be cleaned up.
</p>
+<h2> Exit codes </h2>
+
+<p>
+ <tt>s6-linux-init-logouthookd</tt>'s exit code does not matter, because
+no program uses it. However, here's the list for completeness:
+</p>
+
+<ul>
+ <li> 0: success, whether or not there was an utmp record to clean up. </li>
+ <li> 1: connection attempt from a non-root user. </li>
+ <li> 2: write attempt from a (misprogrammed) client. </li>
+ <li> 111: system call failed. </li>
+</ul>
+
<h2> Notes </h2>
<ul>