From: Felix Fietkau Date: Sat, 2 Jun 2007 05:21:54 +0000 (+0000) Subject: fix error handling in qos-scripts X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0b8ef769c3207b093909b920f6ad3884b809b514;p=openwrt%2Fsvn-archive%2Farchive.git fix error handling in qos-scripts SVN-Revision: 7442 --- 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