Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SendCrypt CLI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clinbio
SendCrypt
SendCrypt CLI
Commits
fa08c540
Verified
Commit
fa08c540
authored
Mar 22, 2024
by
Dillenn Terumalai
Browse files
Options
Downloads
Patches
Plain Diff
1.5.5
Replaced the HTTPS test with curl instead of ping
parent
58cabade
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
lib/cli.sh
+1
-1
1 addition, 1 deletion
lib/cli.sh
with
2 additions
and
1 deletion
README.md
+
1
−
0
View file @
fa08c540
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
lib/cli.sh
+
1
−
1
View file @
fa08c540
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment