From 6f13cd197540af0bf5e87f87ab0e03548d9c5f64 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sat, 27 Apr 2019 23:27:39 +0000
Subject: Doc fixes
---
doc/s6-linux-init-logouthookd.html | 14 ++++++++++++++
1 file changed, 14 insertions(+)
(limited to 'doc/s6-linux-init-logouthookd.html')
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.
+ Exit codes
+
+
+ s6-linux-init-logouthookd's exit code does not matter, because
+no program uses it. However, here's the list for completeness:
+
+
+
+ - 0: success, whether or not there was an utmp record to clean up.
+ - 1: connection attempt from a non-root user.
+ - 2: write attempt from a (misprogrammed) client.
+ - 111: system call failed.
+
+
Notes