Explorar el Código

fix a typo

SVN-Revision: 6228
Felix Fietkau hace 19 años
padre
commit
1930885f90
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      package/base-files/files/etc/functions.sh

+ 1 - 1
package/base-files/files/etc/functions.sh

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