dgt: fix validator

This commit is contained in:
Marcos Marado 2021-10-12 01:24:40 +01:00
parent e236d6f89b
commit 8a9430a858
1 changed files with 1 additions and 1 deletions

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