mirror of
https://github.com/akelge/zsh
synced 2025-08-14 06:18:19 +00:00
Fix errors in x509remote
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
if [ -r "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
openssl s_client -connect $1 < /dev/null | \
|
openssl s_client -connect $1 < /dev/null | \
|
||||||
openssl x509 -noout -text | less
|
openssl x509 -noout -text
|
||||||
else
|
else
|
||||||
echo "x509remote <host:port>"
|
echo "x509remote <host:port>"
|
||||||
fi
|
fi
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user