mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Added missing regex
This commit is contained in:
parent
7aa91fc67a
commit
e6b081e0f9
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ if [[ -z "${CERTS_TO_REVOKE}" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
re='^[0-9]+$'
|
||||
if [[ ${NAME} =~ $re ]] ; then
|
||||
NAME=${CERTS[$(($NAME))]}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue