forked from TrueCloudLab/certificates
Check for existance of pwdpath before copying
This commit is contained in:
parent
640bd0b7c7
commit
313bf2354b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ if [ ! -f "${STEPPATH}/config/ca.json" ]; then
|
|||
init_if_possible
|
||||
fi
|
||||
|
||||
if [ ! -f "${PROVISIONER_PWDPATH}" ]; then
|
||||
if [ -f "${PWDPATH}" ] && [ ! -f "${PROVISIONER_PWDPATH}" ]; then
|
||||
# For backward compatibility,
|
||||
# if the --provisioner-password-file doesn't exist,
|
||||
# use the same password as the CA.
|
||||
|
|
Loading…
Reference in a new issue