fix error handling in qos-scripts
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 2 Jun 2007 05:21:54 +0000 (05:21 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 2 Jun 2007 05:21:54 +0000 (05:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7442 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/qos-scripts/files/usr/lib/qos/generate.sh

index 64e2fc659335d26edeaddace48150e5d5ee6ca93..9181d0b6f3e6b4c758e123e0818a456f65bb1a0a 100755 (executable)
@@ -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