Commit a1d44947 authored by Jonathan Michalon's avatar Jonathan Michalon
Browse files

openvpn/manage-vpn: ignore server.crt too when listing certificates

parent 29152c48
......@@ -142,7 +142,7 @@ case $action in
CERTS=( $(cd keys/; ls *.crt | grep -v ca.crt) )
CERTS=( $(cd keys/; ls *.crt | grep -v -e ca.crt -e server.crt) )
printf '%s\n' "${CERTS[@]}"
echo -e "\nTotal: ${#CERTS[@]}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment