aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index fa6c5b9e..0c067427 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -289,10 +289,11 @@ case "$1" in
cd "$CWD"
$0 stop
$0 start
+ rc=$?
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload}"
- exit 3
+ exit 2
esac
exit $rc