mirror of https://github.com/akelge/zsh
Fix errors in x509remote
This commit is contained in:
parent
6bd3e4b627
commit
115a35d1ae
|
@ -1,6 +1,6 @@
|
|||
if [ -r "$1" ]; then
|
||||
if [ ! -z "$1" ]; then
|
||||
openssl s_client -connect $1 < /dev/null | \
|
||||
openssl x509 -noout -text | less
|
||||
openssl x509 -noout -text
|
||||
else
|
||||
echo "x509remote <host:port>"
|
||||
fi
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue