[fix] Use correct variable in so-proxy.sh

This commit is contained in:
William Wernert
2021-03-04 14:08:21 -05:00
parent a435ea77e8
commit b3c7760ad4

View File

@@ -2258,8 +2258,8 @@ set_proxy() {
{ {
echo "export use_proxy=on" echo "export use_proxy=on"
echo "export http_proxy=\"${so_proxy}\"" echo "export http_proxy=\"${so_proxy}\""
echo "export https_proxy=\"\$http_addr\"" echo "export https_proxy=\"\$http_proxy\""
echo "export ftp_proxy=\"\$http_addr\"" echo "export ftp_proxy=\"\$http_proxy\""
echo "export no_proxy=\"${no_proxy_string}\"" echo "export no_proxy=\"${no_proxy_string}\""
} > /etc/profile.d/so-proxy.sh } > /etc/profile.d/so-proxy.sh