fix an error message

SVN-Revision: 8109
This commit is contained in:
Felix Fietkau 2007-07-22 18:46:57 +00:00
parent b13426e21b
commit 600d29f61e

View file

@ -82,6 +82,8 @@ set_wifi_up() {
set_wifi_down() { set_wifi_down() {
local cfg="$1" local cfg="$1"
local vifs vif vifstr local vifs vif vifstr
[ -f /var/state/wireless ] || return
config_get vifs "$cfg" vifs config_get vifs "$cfg" vifs
for vif in $vifs; do for vif in $vifs; do
append vifstr "$vif" "|" append vifstr "$vif" "|"