Commit 099aaa1f authored by UltimateByte's avatar UltimateByte Committed by GitHub
Browse files

curl follow redirect

parent 1d708eec
......@@ -199,7 +199,7 @@ else
fi
# Test Apple iOS configurator
if [ -n "$(curl "${iosconfigurl}" | grep "<form method=\"post\" action=\"iphone.xml\">")" ]; then
if [ -n "$(curl -L "${iosconfigurl}" | grep "<form method=\"post\" action=\"iphone.xml\">")" ]; then
fn_logecho "[OK] iOS ${iosconfigurl} is accessible"
else
fn_logecho "[ERROR!] iOS ${iosconfigurl} does not seem to be accessible"
......
Supports Markdown
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