fix uci_load trash output (#1040)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Dec 2006 03:37:14 +0000 (03:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Dec 2006 03:37:14 +0000 (03:37 +0000)
SVN-Revision: 5745

package/base-files/files/lib/config/uci.sh

index 957c1bb7cacefb3e859e82fd6991b6d721da3608..92bc1a0b8d8e4355917b93ef72229545c8276c6b 100755 (executable)
@@ -23,7 +23,7 @@ uci_load() {
        config_load "$PACKAGE"
        local PACKAGE_BASE="$(basename "$PACKAGE")"
        [ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {
-               . "/tmp/.uci/${PACKAGE_BASE}"
+               . "/tmp/.uci/${PACKAGE_BASE}" 2>&/dev/null >&/dev/null
                config_cb
        }
 }