From 5a41afaaaafebdceb5049bc32d561b02ca6beb2b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 20 Nov 2010 19:27:35 +0000 Subject: [PATCH] tinyproxy: cope with empty flag options SVN-Revision: 24049 --- net/tinyproxy/files/tinyproxy.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tinyproxy/files/tinyproxy.init b/net/tinyproxy/files/tinyproxy.init index d74fe8e4a..f81dcd344 100644 --- a/net/tinyproxy/files/tinyproxy.init +++ b/net/tinyproxy/files/tinyproxy.init @@ -113,7 +113,7 @@ proxy_flag() { local TRUE="${3:-On}" local FALSE="${4:-Off}" - config_get_bool _value "$SECTION" "$OPTION" + config_get_bool _value "$SECTION" "$OPTION" 0 [ "$_value" -eq "1" ] && _value="$TRUE" || _value="$FALSE" echo "$OPTION $_value" } -- 2.30.2