Default boolean to 0

This commit is contained in:
Vadim Vetrov 2024-09-14 18:43:15 +03:00
parent de1cfab8cd
commit c9aa1edfe7
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5

View File

@ -45,8 +45,8 @@ append_commasep_list() {
append_opts_boolean() { append_opts_boolean() {
local name value cfg="$1"; shift local name value cfg="$1"; shift
for name in $*; do for name in $*; do
config_get_bool value "$cfg" "$name" config_get_bool value "$cfg" "$name" 0
[ -n "$value" ] && xappend "$name" "$value" xappend "$name" "$value"
done done
} }