neofetch: add -L to curl. Closes #1823

This commit is contained in:
Dylan Araps 2021-07-09 10:52:10 +03:00
parent 798d587c9c
commit 9e8ed741b3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

View File

@ -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