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() {
|
||||
local name value cfg="$1"; shift
|
||||
for name in $*; do
|
||||
config_get_bool value "$cfg" "$name"
|
||||
[ -n "$value" ] && xappend "$name" "$value"
|
||||
config_get_bool value "$cfg" "$name" 0
|
||||
xappend "$name" "$value"
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user