aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-06-07 13:50:24 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-06-07 13:50:24 +0000
commit334b4431faa2afff081de94ecef1ae341a6f9585 (patch)
tree094413f428de4e93c52ef7e9cd2536f8689e5727 /sbin/route/route.8
parent3f844a222194598bd866daa7667b5be44d354fe4 (diff)
downloadsrc-334b4431faa2afff081de94ecef1ae341a6f9585.tar.gz
src-334b4431faa2afff081de94ecef1ae341a6f9585.zip
- Exit 1 if "add", "change", or "delete" operation fails.
PR: bin/12489 - Use inet_ntoa(3) where it should have been used. This part of code simply wasn't converted to the "new" style after the routename() function was converted from the protocol-generic version to protocol-specific version in CSRG revision 5.6. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=77873
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r--sbin/route/route.84
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 7cc617ffa353..5e67f44078fc 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -363,6 +363,10 @@ An add operation was attempted, but the system was
low on resources and was unable to allocate memory
to create the new entry.
.El
+.Pp
+The
+.Nm
+utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr netintro 4 ,
.Xr route 4 ,