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:
parent
e236d6f89b
commit
8a9430a858
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user