add an extra safety check

SVN-Revision: 10389
This commit is contained in:
Felix Fietkau 2008-02-05 01:47:47 +00:00
parent 2e4ccd2aad
commit 49080689d9

View File

@ -208,4 +208,4 @@ uci_apply_defaults() {(
uci commit
)}
[ -z "$IPKG_INSTROOT" ] && . /lib/config/uci.sh
[ -z "$IPKG_INSTROOT" -a -f /lib/config/uci.sh ] && . /lib/config/uci.sh