Skip to content
Snippets Groups Projects
Verified Commit fa08c540 authored by Dillenn Terumalai's avatar Dillenn Terumalai :speech_balloon:
Browse files

1.5.5

Replaced the HTTPS test with curl instead of ping
parent 58cabade
Branches
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ _SendCrypt has a Desktop application that allows you to send files in a more use
- [Git](https://git-scm.com/)
- [GnuPG](https://gnupg.org/)
- [SSH](https://www.openssh.com/)
- [curl](https://curl.se/)
#### MacOS specific pre-requisites
......
......@@ -46,7 +46,7 @@ sendcrypt_check_access_to_server() {
}
sendcrypt_check_internet_connection() {
if ! ping -c 1 sendcrypt.sib.swiss &> /dev/null; then
if ! curl -s -I https://sendcrypt.sib.swiss > /dev/null; then
sendcrypt_log "error" "Unable to reach sendcrypt.sib.swiss (HTTPS)."
exit 1
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment