summaryrefslogtreecommitdiffstats
path: root/share/man/man8
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2002-04-09 21:05:18 +0000
committertrhodes <trhodes@FreeBSD.org>2002-04-09 21:05:18 +0000
commitf543b2d6fcfa911079a9ee99d610e8da2ac6969d (patch)
treed777b77a8247287c6b5590c102d47e6bc9ba5dbb /share/man/man8
parent2ead48154d28aaa1621616f1cc1dcf0143030b95 (diff)
downloadFreeBSD-src-f543b2d6fcfa911079a9ee99d610e8da2ac6969d.zip
FreeBSD-src-f543b2d6fcfa911079a9ee99d610e8da2ac6969d.tar.gz
intro(8) is lacking a command status explanation, added.
PR: 36448 No objections from: ru MFC after: 3 days
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/intro.811
1 files changed, 11 insertions, 0 deletions
diff --git a/share/man/man8/intro.8 b/share/man/man8/intro.8
index 1b63ef8..71333a9 100644
--- a/share/man/man8/intro.8
+++ b/share/man/man8/intro.8
@@ -65,6 +65,17 @@ The section
.Ql Xr crash
should be consulted to understand how to interpret system
crash dumps.
+.Pp
+All commands set an exit status.
+Its value may be tested
+to see if the command completed normally.
+Unless otherwise noted (rare), the value 0 signifies successful
+completion of the command, while a value >0 indicates an error.
+Some commands attempt to describe the nature of the failure by using
+error codes defined in
+.Xr sysexits 3 ,
+or set the status to arbitrary values >0 (typically 1), but many
+such values are not described in the manual.
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud