drop the '0' default in config_get_bool

SVN-Revision: 9618
lede-17.01
Felix Fietkau 2007-11-28 19:02:46 +00:00
parent bbf087176a
commit 8977c6c20a
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ config_get_bool() {
case "$_tmp" in
1|on|true|enabled) export ${NO_EXPORT:+-n} "$1=1";;
0|off|false|disabled) export ${NO_EXPORT:+-n} "$1=0";;
*) eval "$1=${4:-0}";;
*) eval "$1=$4";;
esac
}