From 8dcb268730d703492a96b0ad69383b3b98ece62d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 10 Jul 2010 18:59:41 +0200 Subject: [PATCH] network: Proper exit codes for bridge hook. --- hooks/zones/bridge | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() { -- 2.39.2