aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/system.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/system.3 b/man3/system.3
index 19a4d8c201..e31ceb4355 100644
--- a/man3/system.3
+++ b/man3/system.3
@@ -86,7 +86,7 @@ or 0 if no shell is available.
.IP *
If a child process could not be created,
or its status could not be retrieved,
-the return value is \-1.
+the return value is \-1 and errno is set to indicate the error.
.IP *
If a shell could not be executed in the child process,
then the return value is as though the child shell terminated by calling