relayd: fix return code check for resolving network->ifname mapping
authorFelix Fietkau <nbd@openwrt.org>
Mon, 14 May 2012 14:08:43 +0000 (14:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 14 May 2012 14:08:43 +0000 (14:08 +0000)
SVN-Revision: 31712

package/relayd/files/relay.init

index 307fbf2baf333e8fd58e24dbea84dd0c356b68e9..43ba6e10f40f78d289f38b14c85324e640ab4407 100644 (file)
@@ -15,7 +15,6 @@ resolve_network() {
        config_get ifn "$1" ifname
        [ -z "$ifn" ] && return 1
        resolve_ifname "$ifn"
-       return 0
 }
 
 start_relay() {