浏览代码

fix error handling in qos-scripts

SVN-Revision: 7442
Felix Fietkau 18 年之前
父节点
当前提交
e4550a0ebc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/qos-scripts/files/usr/lib/qos/generate.sh

+ 1 - 1
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