relayd: fix return code check for resolving network->ifname mapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31712 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
9edd5ac6fa
commit
8f99bd9b98
|
@ -15,7 +15,6 @@ resolve_network() {
|
||||||
config_get ifn "$1" ifname
|
config_get ifn "$1" ifname
|
||||||
[ -z "$ifn" ] && return 1
|
[ -z "$ifn" ] && return 1
|
||||||
resolve_ifname "$ifn"
|
resolve_ifname "$ifn"
|
||||||
return 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start_relay() {
|
start_relay() {
|
||||||
|
|
Loading…
Reference in New Issue