[4.0] 7988a31 be more precise about status codes

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:24 CEST 2014


commit 7988a315329eb250adfb9edc8cf2575806e28918
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Aug 26 16:59:13 2014 +0200

    be more precise about status codes

diff --git a/doc/sphinx/reference/varnishd.rst b/doc/sphinx/reference/varnishd.rst
index 75b50ac..3375f3f 100644
--- a/doc/sphinx/reference/varnishd.rst
+++ b/doc/sphinx/reference/varnishd.rst
@@ -259,12 +259,19 @@ following codes
 * `1` Configuration / parameter error
 * `2` Some other error which could be system-dependend and/or transient
 
-In addition to these, when coredumps are disabled, `varnishd` will
-exit with status code `4` in a panic situation.
+In addition to these, the `varnishd` child process will exit with
+status code `4`
 
-The `varnishd` master process may also OR its exit code with `0x40`
-when the `varnishd` child process was terminated by a signal and with
-`0x80` when a core was dumped.
+* in a panic situation when coredumps are disabled and
+* in panic-like situations when triggering an actual panic is not
+  possible.
+
+The `varnishd` master process may also OR its exit code
+
+* with `0x20` when the `varnishd` child process died,
+* with `0x40` when the `varnishd` child process was terminated by a
+  signal and
+* with `0x80` when a core was dumped.
 
 SEE ALSO
 ========



More information about the varnish-commit mailing list