neofetch: add -L to curl. Closes #1823

parent 798d587c
......@@ -3903,7 +3903,7 @@ get_public_ip() {
fi
if [[ -z "$public_ip" ]] && type -p curl >/dev/null; then
public_ip="$(curl --max-time "$public_ip_timeout" -w '\n' "$public_ip_host")"
public_ip="$(curl -L --max-time "$public_ip_timeout" -w '\n' "$public_ip_host")"
fi
if [[ -z "$public_ip" ]] && type -p wget >/dev/null; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment