summaryrefslogtreecommitdiffstats
path: root/sbin/ping
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2009-01-11 22:36:45 +0000
committerdanger <danger@FreeBSD.org>2009-01-11 22:36:45 +0000
commit53dabe7d04c7ca080411b274c3a596b97d61ae43 (patch)
tree5837516c2f4f689791ddb9f87fb74cbb60621e7a /sbin/ping
parent6f0bfed2bee55e3d0a89ef600c6ba780fc84b926 (diff)
downloadFreeBSD-src-53dabe7d04c7ca080411b274c3a596b97d61ae43.zip
FreeBSD-src-53dabe7d04c7ca080411b274c3a596b97d61ae43.tar.gz
- improve readability
Reviewed by: trhodes, keramida MFC after: 3 days
Diffstat (limited to 'sbin/ping')
-rw-r--r--sbin/ping/ping.820
1 files changed, 12 insertions, 8 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index 1456b86..7617585 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -506,14 +506,18 @@ Others may use completely wild values.
.Sh EXIT STATUS
The
.Nm
-utility returns an exit status of zero if at least one response was
-heard from the specified
-.Ar host ;
-a status of two if the transmission was successful but no responses
-were received; or another value
-(from
-.In sysexits.h )
-if an error occurred.
+utility exits with one of the following values:
+.Bl -tag -width indent
+.It 0
+At least one response was heard from the specified
+.Ar host .
+.It 2
+The transmission was successful but no responses were received.
+.It any other value
+An error occurred.
+These values are defined in
+.In sysexits.h .
+.El
.Sh SEE ALSO
.Xr netstat 1 ,
.Xr ifconfig 8 ,
OpenPOWER on IntegriCloud