From 5120b108ca2dcd78db519226516e071aca7b81d0 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Jul 2021 16:00:59 -0400 Subject: shfmt everything --- bin/hostcert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/hostcert') diff --git a/bin/hostcert b/bin/hostcert index 545167a..61f519d 100755 --- a/bin/hostcert +++ b/bin/hostcert @@ -5,4 +5,4 @@ set -o pipefail host="$1" port="${2:-443}" -openssl s_client -connect "$host:$port" < /dev/null 2>/dev/null | perl -nle 'print if /BEGIN CERTIFICATE/../END CERTIFICATE/' | openssl x509 -text | perl -nle 'print unless /BEGIN CERTIFICATE/../END CERTIFICATE/' +openssl s_client -connect "$host:$port" /dev/null | perl -nle 'print if /BEGIN CERTIFICATE/../END CERTIFICATE/' | openssl x509 -text | perl -nle 'print unless /BEGIN CERTIFICATE/../END CERTIFICATE/' -- cgit v1.2.3-54-g00ecf