Update check and curl
Merge pull request #597 from LocutusOfBorg/updated-curl

Update check and curl