Ignore serial.old

Signed-off-by: Richard Bonhomme <tincanteksup@gmail.com>
This commit is contained in:
Richard Bonhomme 2020-01-10 17:08:13 +00:00
parent 07ec923be1
commit d28b2edfb0
No known key found for this signature in database
GPG Key ID: D7D49FA009D95091

View File

@ -1865,8 +1865,8 @@ up23_create_new_pki ()
up23_verbose ">> Copy database to NEW PKI .."
# Failure for these is not optional
# DO NOT DELETE - Files ignored: index.txt.old
for i in index.txt serial serial.old ca.crt index.txt.attr
# Files ignored: index.txt.old serial.old
for i in index.txt serial ca.crt index.txt.attr
do
cp "$KEY_DIR/$i" "$EASYRSA_PKI" \
|| up23_fail_upgrade "Failed to copy $KEY_DIR/$i to $EASYRSA_PKI"