kiss-stj

My KISS Linux repo for software I use on my computers.
git clone https://git.stjo.hn/kiss-stj
Log | Files | Refs | README | LICENSE

redirects.patch (350B)


      1 diff --git a/sfeed_update b/sfeed_update
      2 index fc7447f..6f22988 100755
      3 --- a/sfeed_update
      4 +++ b/sfeed_update
      5 @@ -49,7 +49,7 @@ log_error() {
      6  # fetch(name, url, feedfile)
      7  fetch() {
      8  	# fail on redirects, hide User-Agent, timeout is 15 seconds.
      9 -	curl -L --max-redirs 0 -H "User-Agent:" -f -s -m 15 \
     10 +	curl -L -f -s -m 15 \
     11  		"$2" 2>/dev/null
     12  }
     13