diff --git a/scripts/ci/check-virustotal.sh b/scripts/ci/check-virustotal.sh index cbb2f81a4..0c8ea5584 100755 --- a/scripts/ci/check-virustotal.sh +++ b/scripts/ci/check-virustotal.sh @@ -59,8 +59,11 @@ print(f'{status},{malicious},{suspicious},{completed},{total}') COMPLETED=$(echo "$STATS" | cut -d',' -f4) TOTAL=$(echo "$STATS" | cut -d',' -f5) - if [ "$STATUS" = "completed" ] && [ "$COMPLETED" -ge "$MIN_ENGINES" ]; then + if [ "$STATUS" = "completed" ]; then SCAN_COMPLETE=true + if [ "$COMPLETED" -lt "$MIN_ENGINES" ]; then + echo "NOTE: $BASENAME completed with only $COMPLETED/$TOTAL engines (< $MIN_ENGINES)" + fi if [ "$MALICIOUS" -gt 0 ] || [ "$SUSPICIOUS" -gt 0 ]; then echo "BLOCKED: $BASENAME flagged ($MALICIOUS malicious, $SUSPICIOUS suspicious / $COMPLETED engines)" echo " $URL"