fix uci_load trash output (#1040)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2006-12-10 03:37:14 +00:00
parent 070350b0d9
commit 7ac94dfc7e
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}