fix uci_load trash output (#1040)

SVN-Revision: 5745
This commit is contained in:
Felix Fietkau 2006-12-10 03:37:14 +00:00
parent a50852845e
commit 3310901f9b

View file

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