From 8a9430a858b2b01a6dc4cb5bc958364c2d0a3aa1 Mon Sep 17 00:00:00 2001 From: Marcos Marado Date: Tue, 12 Oct 2021 01:24:40 +0100 Subject: [PATCH] dgt: fix validator --- scripts/32-dgt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/32-dgt.sh b/scripts/32-dgt.sh index db7cd23..3d1533e 100755 --- a/scripts/32-dgt.sh +++ b/scripts/32-dgt.sh @@ -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