tinyproxy: handling of option XTinyproxy
authorMathieu Coupe <redacted>
Mon, 7 Jan 2019 20:02:49 +0000 (21:02 +0100)
committerMathieu Coupe <redacted>
Sat, 13 Apr 2019 08:37:23 +0000 (10:37 +0200)
1.) Fix the handling of XTinyproxy option to avoid syntax error when starting tinyproxy:

example:
Syntax error on line 15
Unable to parse config file. Not starting.

Signed-off-by: Mathieu Coupe <redacted>
net/tinyproxy/files/tinyproxy.init

index 73f38c63d4acc1fbcb8ac4cd87f8b5e215f2bdce..046783073a5aa7af260c1ee2bd945aea8bbd27ed 100644 (file)
@@ -50,7 +50,7 @@ start_proxy() {
 
        proxy_atom "$1" LogLevel >> $CFGFILE
 
-       proxy_list "$1" XTinyproxy >> $CFGFILE
+       proxy_flag "$1" XTinyproxy >> $CFGFILE
 
        proxy_atom "$1" MaxClients >> $CFGFILE
        proxy_atom "$1" MinSpareServers >> $CFGFILE
git clone https://git.99rst.org/PROJECT