Skip to content

Commit

Permalink
install_data_to_pki(): Downgrade Failure to Warning
Browse files Browse the repository at this point in the history
If the openssl-easyrsa.cnf file fails to copy then try to create it
using create_openssl_easyrsa_cnf(). If creating the file also fails
then that is a fatal error.

Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Oct 18, 2023
1 parent a05fa59 commit 7960b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ install_data_to_pki() {
if [ -e "${EASYRSA_PKI}/${source}" ]; then
continue
else
cp "${area}/${source}" "$EASYRSA_PKI" || die \
cp "${area}/${source}" "$EASYRSA_PKI" || warn \
"Failed to copy to PKI: ${area}/${source}"
fi
done
Expand Down

0 comments on commit 7960b4c

Please sign in to comment.