Fixed SC2115
This commit is contained in:
parent
5f7707dcc5
commit
0db2dbe961
@ -418,7 +418,7 @@ and initialize a fresh PKI here."
|
||||
soft)
|
||||
files="ca.crt certs_by_serial ecparams index.txt index.txt.attr index.txt.old issued private reqs serial serial.old"
|
||||
for i in $files; do
|
||||
rm -rf "$EASYRSA_PKI/$i" || die "Removal of PKI dir failed. Check/correct errors above"
|
||||
rm -rf "${EASYRSA_PKI:?}/$i" || die "Removal of PKI dir failed. Check/correct errors above"
|
||||
done
|
||||
;;
|
||||
# More modes could be added here, e.g. only remove
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user