Added missing regex

This commit is contained in:
GizMoCuz 2020-07-08 16:43:32 +02:00
parent 7aa91fc67a
commit e6b081e0f9

View file

@ -76,6 +76,7 @@ if [[ -z "${CERTS_TO_REVOKE}" ]]; then
exit 1
fi
re='^[0-9]+$'
if [[ ${NAME} =~ $re ]] ; then
NAME=${CERTS[$(($NAME))]}
fi