From 5eab619c9c36e57d9c7955ed80db91e83bb320b5 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 7 Jun 2020 05:01:45 +0000
Subject: Doc fixes and clarifications
---
doc/s6-sudod.html | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
(limited to 'doc/s6-sudod.html')
diff --git a/doc/s6-sudod.html b/doc/s6-sudod.html
index 53ec2f7..255d946 100644
--- a/doc/s6-sudod.html
+++ b/doc/s6-sudod.html
@@ -53,9 +53,20 @@ for every variable sent by s6-sudoc, if the
variable is present but empty in s6-sudod's environment, then
its value is overriden by the value given by s6-sudoc. A variable that is
already nonempty, or that doesn't exist, in s6-sudod's environment, will not
-be transmitted to the child.
+be transmitted to the child. In other words:
+
+ - If there's no variable X in s6-sudod's environment, the child
+will have no variable X defined
+ - If there's a non-empty variable X in s6-sudod's environment,
+the child will inherit that variable, with its value, from s6-sudod
+ - If there's an empty variable X in s6-sudod's environment,
+and s6-sudoc transmits variable X, then the child will inherit that
+variable with the value from s6-sudoc. (If s6-sudoc does not transmit X,
+the variable will be present, but empty, in the child's environment.)
+
+
Options