summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/s6-svlisten.html2
-rw-r--r--doc/s6-svwait.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/s6-svlisten.html b/doc/s6-svlisten.html
index 8fdbc88..96d3f74 100644
--- a/doc/s6-svlisten.html
+++ b/doc/s6-svlisten.html
@@ -52,6 +52,8 @@ their state changes. </li>
<li> It spawns <em>prog...</em> as a child right after getting the
initial state of all the monitored services. </li>
<li> It then blocks until the wanted state happens. </li>
+ <li> If no service directories are listed (the block is empty), then
+instead of doing all that, it immediately execs into <em>prog...</em>.
</ul>
<h2> Exit codes </h2>
diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html
index 553201b..daa497f 100644
--- a/doc/s6-svwait.html
+++ b/doc/s6-svwait.html
@@ -35,7 +35,7 @@ s6-svwait only waits for notifications; it never polls.
<p>
s6-svwait monitors one or more <a href="servicedir.html">service
directories</a> given as its arguments, waiting for a state (ready, up or down) to
-happen.
+happen. If no service directories are listed, it immediately exits 0.
</p>
<h2> Exit codes </h2>