tinyproxy: fix upstream config generation

Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
This commit is contained in:
Daniel Kucera 2024-04-25 08:47:29 +02:00
parent e35b92835e
commit 7e3a512042
1 changed files with 2 additions and 2 deletions

View File

@ -24,10 +24,10 @@ 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"
echo "upstream none$target"
}
proxy_atom() {