diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 3d3f5a5ff4f..2a57fa3b118 100755 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -90,18 +90,23 @@ routing_stop() setroutes() { + local _ret + _ret=0 case $1 in static) static_$2 add $3 + _ret=$? ;; options) options_$2 ;; doall) static_$2 add $3 + _ret=$? options_$2 ;; esac + return $_ret } routing_stop_inet()