Fix exit status of "service routing start <af> <iface>"
etc/rc.d/routing Ignore the exit status of options_{inet,inet6,atm}. It's meaningless. Reviewed by: hrs MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6687
This commit is contained in:
parent
b16de7bff1
commit
6761eb4b11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301207
@ -90,18 +90,23 @@ routing_stop()
|
|||||||
|
|
||||||
setroutes()
|
setroutes()
|
||||||
{
|
{
|
||||||
|
local _ret
|
||||||
|
_ret=0
|
||||||
case $1 in
|
case $1 in
|
||||||
static)
|
static)
|
||||||
static_$2 add $3
|
static_$2 add $3
|
||||||
|
_ret=$?
|
||||||
;;
|
;;
|
||||||
options)
|
options)
|
||||||
options_$2
|
options_$2
|
||||||
;;
|
;;
|
||||||
doall)
|
doall)
|
||||||
static_$2 add $3
|
static_$2 add $3
|
||||||
|
_ret=$?
|
||||||
options_$2
|
options_$2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
return $_ret
|
||||||
}
|
}
|
||||||
|
|
||||||
routing_stop_inet()
|
routing_stop_inet()
|
||||||
|
Loading…
Reference in New Issue
Block a user