aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/supervisor.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml
index f9a5e245b4..1a64b7a2af 100644
--- a/lib/stdlib/doc/src/supervisor.xml
+++ b/lib/stdlib/doc/src/supervisor.xml
@@ -295,7 +295,7 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules}
terminates with reason <c>Term</c>.</p>
<p>If any child process start function fails or returns an error
tuple or an erroneous value, the function returns
- <c>{error,shutdown}</c> and the supervisor terminates all
+ <c>{error, {shutdown, Reason}}</c> and the supervisor terminates all
started child processes and then itself with reason
<c>shutdown</c>.</p>
</desc>