fix a typo

SVN-Revision: 6228
This commit is contained in:
Felix Fietkau 2007-01-29 22:07:17 +00:00
parent f7f09b3ece
commit 1930885f90

View file

@ -77,7 +77,7 @@ config_clear() {
CONFIG_SECTIONS="$(echo " $CONFIG_SECTIONS " | sed -e "s, $OLD , ,")"
CONFIG_SECTIONS="${SECTION:+$CONFIG_SECTIONS}"
for oldvar in `set | grep ^CONFIG_${SECTION:+$SECTION_} | \
for oldvar in `set | grep ^CONFIG_${SECTION:+${SECTION}_} | \
sed -e 's/\(.*\)=.*$/\1/'` ; do
unset $oldvar
done