From: Michael Tremer Date: Sat, 10 Jul 2010 16:59:41 +0000 (+0200) Subject: network: Proper exit codes for bridge hook. X-Git-Tag: 001~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dcb268730d703492a96b0ad69383b3b98ece62d;p=network.git network: Proper exit codes for bridge hook. --- diff --git a/hooks/zones/bridge b/hooks/zones/bridge index 1108bb2a..a09f7553 100755 --- a/hooks/zones/bridge +++ b/hooks/zones/bridge @@ -114,6 +114,8 @@ function _up() { zone_configs_up ${zone} event_interface_up ${zone} + + exit ${EXIT_OK} } function _down() { @@ -133,7 +135,7 @@ function _down() { device_set_down ${zone} brctl delbr ${zone} - exit $? + exit ${EXIT_OK} } function _status() {