summaryrefslogtreecommitdiffstats
path: root/package/qos-scripts/files/usr/lib
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-02 05:21:54 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-02 05:21:54 +0000
commit3ebcfb0dbfb3bd40ed48a0d33afd8102c4db34b7 (patch)
tree0f5aa79ecc825e3985e65b441d9536a2f24c5360 /package/qos-scripts/files/usr/lib
parenta734f1b07a7c700449d311f5a93459b3c659b63e (diff)
fix error handling in qos-scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7442 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/qos-scripts/files/usr/lib')
-rwxr-xr-xpackage/qos-scripts/files/usr/lib/qos/generate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh
index 64e2fc659..9181d0b6f 100755
--- a/package/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/package/qos-scripts/files/usr/lib/qos/generate.sh
@@ -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