]> git.ipfire.org Git - people/arne_f/network.git/commitdiff
network: Proper exit codes for bridge hook.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Jul 2010 16:59:41 +0000 (18:59 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Jul 2010 16:59:41 +0000 (18:59 +0200)
hooks/zones/bridge

index 1108bb2a0d1d010eb776583fd37962d98dd324cb..a09f75538ffabb47e71676e9a9e0c0859af0a592 100755 (executable)
@@ -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() {