aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-02 05:21:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-02 05:21:54 +0000
commitea9d43e9cf29aefea45de481ff20b2cd2e2c916b (patch)
tree0f5aa79ecc825e3985e65b441d9536a2f24c5360 /package
parent01cf92dd366c36760920a310fa22965ec1fd8b45 (diff)
downloadupstream-ea9d43e9cf29aefea45de481ff20b2cd2e2c916b.tar.gz
upstream-ea9d43e9cf29aefea45de481ff20b2cd2e2c916b.tar.bz2
upstream-ea9d43e9cf29aefea45de481ff20b2cd2e2c916b.zip
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')
-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 64e2fc6593..9181d0b6f3 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