Ignore serial.old

Signed-off-by: Richard Bonhomme <tincanteksup@gmail.com>
This commit is contained in:
Richard Bonhomme committed 2020-01-10 17:08:13 +00:00
1 parent 07ec923be1
commit d28b2edfb0
1 file changed
+2 -2
+2 -2
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"