Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Distributed Computing
Common
vagrant-prometheus
Commits
68d7a9a6
Commit
68d7a9a6
authored
Aug 14, 2019
by
k.elaammari
Browse files
missing check
parent
53234b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/openssl_generate.sh
View file @
68d7a9a6
...
...
@@ -9,11 +9,13 @@ config=$openssl_base/config
pushd
$openssl_base
>
/dev/null 2>&1
echo
-n
"Openssl-data directory already exist. Create new certificates ? [y/n]: "
read
prompt
if
!
[
"
$prompt
"
!=
"
${
prompt
#[Yy]
}
"
]
;
then
echo
"Abort."
exit
if
[
-d
$openssl_base
/data
]
;
then
echo
-n
"Openssl-data directory already exist. Create new certificates ? [y/n]: "
read
prompt
if
!
[
"
$prompt
"
!=
"
${
prompt
#[Yy]
}
"
]
;
then
echo
"Abort."
exit
fi
fi
# Create data directory
...
...
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