Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caucase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
caucase
Commits
da195075
Commit
da195075
authored
Nov 25, 2020
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell/caucase.sh: Fail sooner when caucased exits on start.
parent
02c687af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
shell/caucase.sh
shell/caucase.sh
+7
-0
No files found.
shell/caucase.sh
View file @
da195075
...
...
@@ -1232,6 +1232,13 @@ EOF
_curlInsecure
"http://
$netloc
"
>
/dev/null
status
=
$?
test
$status
-eq
0
&&
break
# is caucased still alive ?
if
kill
-0
"
$caucased_pid
"
2> /dev/null
;
then
:
else
echo
"caucased exited"
return
1
fi
# curl status 7 means "could not connect"
if
[
$status
-ne
7
]
;
then
echo
"curl failed while accessing test caucased with status
$status
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment