fix uci_load trash output (#1040)

SVN-Revision: 5745
lede-17.01
Felix Fietkau 2006-12-10 03:37:14 +00:00
parent a50852845e
commit 3310901f9b
1 changed files with 1 additions and 1 deletions

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