Skip to content
Snippets Groups Projects
Commit 8977c6c2 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

drop the '0' default in config_get_bool

SVN-Revision: 9618
parent bbf08717
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment