mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-01-15 03:04:39 +00:00
Default boolean to 0
This commit is contained in:
parent
de1cfab8cd
commit
c9aa1edfe7
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user