Prechádzať zdrojové kódy

fix uci_load trash output (#1040)

SVN-Revision: 5745
Felix Fietkau 19 rokov pred
rodič
commit
3310901f9b

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

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