Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kedifa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
kedifa
Commits
6cc33823
Commit
6cc33823
authored
Nov 21, 2024
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib/shell/kedifa_update_cert: Exit in case of incomplete config
parent
22a61013
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
contrib/shell/kedifa_update_cert
contrib/shell/kedifa_update_cert
+1
-0
No files found.
contrib/shell/kedifa_update_cert
View file @
6cc33823
...
@@ -50,6 +50,7 @@ URL=
...
@@ -50,6 +50,7 @@ URL=
if
test
-z
"
$CA
"
||
test
-z
"
$CRL
"
||
test
-z
"
$URL
"
;
then
if
test
-z
"
$CA
"
||
test
-z
"
$CRL
"
||
test
-z
"
$URL
"
;
then
printf
'"%q": Malformed file\n'
"
$config
"
printf
'"%q": Malformed file\n'
"
$config
"
exit
1
fi
fi
keycert
=
"
$(
mktemp
--tmpdir
kedifa_update_XXXXXXXX
)
"
keycert
=
"
$(
mktemp
--tmpdir
kedifa_update_XXXXXXXX
)
"
trap
'rm "${keycert}"'
EXIT
trap
'rm "${keycert}"'
EXIT
...
...
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