summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.d/routing5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 3d3f5a5..2a57fa3 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()
OpenPOWER on IntegriCloud