tinyproxy: fix upstream config generation
Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
This commit is contained in:
parent
e35b92835e
commit
4d59346af2
|
@ -24,7 +24,7 @@ write_upstream() {
|
|||
[ -n "$target" ] && target=' "'"$target"'"'
|
||||
|
||||
[ "$type" = "proxy" ] && [ -n "$via" ] && \
|
||||
echo "upstream $via$target"
|
||||
echo "upstream http $via$target"
|
||||
|
||||
[ "$type" = "reject" ] && [ -n "$target" ] && \
|
||||
echo "no upstream$target"
|
||||
|
|
Loading…
Reference in New Issue