freebsd-nq/sbin/route
Remko Lodder 6764f54349 In route.c in newroute() there's a call to exit(0) if the command was
'get'. Since rtmsg() always gets called and returns 0 on success and -1
on failure, it's possible to exit with a suitable exit code by calling
exit(ret != 0) instead, as is done at the end of newroute().

PR:		bin/112303
Submitted by:	bruce@cran.org.uk
MFC after:	1 week
2008-03-22 12:50:43 +00:00
..
keywords Introduce "route del" as an alias to "route delete". 2005-09-28 12:12:15 +00:00
Makefile Obey MK_INET6_SUPPORT. 2006-07-27 13:26:29 +00:00
route.8 Document -t. 2007-11-01 19:54:59 +00:00
route.c In route.c in newroute() there's a call to exit(0) if the command was 2008-03-22 12:50:43 +00:00