7
0
mirror of https://github.com/marado/RNID.git synced 2024-12-22 03:54:21 +00:00

dgt: fix validator

This commit is contained in:
Marcos Marado 2021-10-12 01:24:40 +01:00
parent e236d6f89b
commit 8a9430a858

View File

@ -2,7 +2,7 @@
fail=0;
if [ "$(curl https://tcp.dgterritorio.gov.pt/procurar -o /dev/null || echo $?)" -eq "60" ]; then
if [ "$(curl https://tcp.dgterritorio.gov.pt/procurar -o /dev/null --silent; echo $?)" -eq "60" ]; then
echo "dgt: erro no certificado HTTPS";
fail=1;
else