From 9e8ed741b38925455deb0ad1e6c31fe81074679f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 9 Jul 2021 10:52:10 +0300 Subject: [PATCH] neofetch: add -L to curl. Closes #1823 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 8a3fea96..71a8043e 100755 --- a/neofetch +++ b/neofetch @@ -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