When $want_init_pki is set then also skip session setup
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
f5a3950699
commit
0238b5cdba
@ -2357,7 +2357,7 @@ Sourcing the vars file will probably fail .."
|
||||
# Also, integrate a partial 'init-pki' by using 'install_data_to_pki()'
|
||||
#
|
||||
# If EASYRSA_PKI directory exists then
|
||||
if [ -d "$EASYRSA_PKI" ]; then
|
||||
if [ ! "$want_init_pki" ] && [ -d "$EASYRSA_PKI" ]; then
|
||||
|
||||
# Temp dir session
|
||||
secure_session || die "Temporary directory secure-session failed."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user