Have `curl` auto-redirect

This should solve the redirection issue if a list is moved.
This commit is contained in:
Dan Schaper 2016-06-23 18:37:45 -07:00 committed by GitHub
parent ce110aab90
commit 636a9123b8
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function gravity_transport() {
fi
# Silently curl url
curl -s $cmd_ext $heisenbergCompensator -A "$agent" $url > $patternBuffer
curl -s -L $cmd_ext $heisenbergCompensator -A "$agent" $url > $patternBuffer
# Check for list updates
gravity_patternCheck "$patternBuffer"
# Cleanup