pipe dev null to certexpiry fn

This commit is contained in:
Ben Harris 2020-09-02 09:22:26 -04:00
parent b0e39637aa
commit 5fb97e1d3a
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
function certexpiry
openssl s_client -connect $argv[1] 2>/dev/null | openssl x509 -noout -dates
openssl s_client -connect $argv[1] </dev/null 2>/dev/null | openssl x509 -noout -dates
end