From c9aa1edfe7af7f327998656268718689ff27caf7 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Sat, 14 Sep 2024 18:43:15 +0300 Subject: [PATCH] Default boolean to 0 --- youtubeUnblock/files/etc/init.d/youtubeUnblock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtubeUnblock/files/etc/init.d/youtubeUnblock b/youtubeUnblock/files/etc/init.d/youtubeUnblock index f491ecf..a4ea190 100755 --- a/youtubeUnblock/files/etc/init.d/youtubeUnblock +++ b/youtubeUnblock/files/etc/init.d/youtubeUnblock @@ -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 }