mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix error handling in qos-scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7442 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
01cf92dd36
commit
ea9d43e9cf
@ -239,7 +239,7 @@ start_interface() {
|
||||
config_get device "$iface" device
|
||||
config_get_bool enabled "$iface" enabled 1
|
||||
[ -z "$device" -o 1 -ne "$enabled" ] && {
|
||||
echo "Interface '$iface' not found or disabled."
|
||||
echo "Interface '$iface' not found or disabled." >&2
|
||||
return 1
|
||||
}
|
||||
config_get upload "$iface" upload
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user