Merge branch 'TinCanTech-master'

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2022-03-29 23:50:26 +01:00
commit b3a1d54e8c
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -700,7 +700,8 @@ install_data_to_pki () {
# Copy the source to the PKI
copy_data_to_pki () {
cp ${2:+-R} "$1" "$EASYRSA_PKI"
cp ${2:+-R} "$1" "$EASYRSA_PKI" || return
shift # Clear recurse
} # => copy_data_to_pki ()
# Disable terminal echo, if possible, otherwise warn