reset CONFIG_SECTION when calling config_load

SVN-Revision: 5318
This commit is contained in:
Felix Fietkau 2006-10-28 00:40:17 +00:00
parent 8a7cf55e06
commit 12ccb1ed73

View file

@ -77,6 +77,7 @@ config_clear() {
} }
config_load() { config_load() {
CONFIG_SECTION=
local DIR="./" local DIR="./"
_C=0 _C=0
[ \! -e "$1" -a -e "/etc/config/$1" ] && { [ \! -e "$1" -a -e "/etc/config/$1" ] && {