summaryrefslogtreecommitdiff
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
commite4550a0ebc81c8e6ba0de1051c930f0414f6bc4c (patch)
tree386602787ab45768e664ba459f04edc330ab925b /package
parent9e3e6089d5445dbb444c6f4e2fc42f34bbfdf791 (diff)
downloadmtk-20170518-e4550a0ebc81c8e6ba0de1051c930f0414f6bc4c.zip
mtk-20170518-e4550a0ebc81c8e6ba0de1051c930f0414f6bc4c.tar.gz
mtk-20170518-e4550a0ebc81c8e6ba0de1051c930f0414f6bc4c.tar.bz2
fix error handling in qos-scripts
SVN-Revision: 7442
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 64e2fc6..9181d0b 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