mirror of https://github.com/akelge/zsh
changes 4
This commit is contained in:
parent
ddcda3ad7c
commit
e7a5d9c7e9
|
@ -16,7 +16,7 @@ while getopts ":hr:" arg; do
|
||||||
r)
|
r)
|
||||||
remote=1
|
remote=1
|
||||||
host=$OPTARG
|
host=$OPTARG
|
||||||
hostname=echo $host|cut -d: -f1
|
hostname=$(echo $host|cut -d: -f1)
|
||||||
;;
|
;;
|
||||||
h|*) help=1
|
h|*) help=1
|
||||||
;;
|
;;
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +0,0 @@
|
||||||
if [ ! -z "$1" ]; then
|
|
||||||
openssl s_client -connect $1 < /dev/null | \
|
|
||||||
openssl x509 -noout -text
|
|
||||||
else
|
|
||||||
echo "x509remote <host:port>"
|
|
||||||
fi
|
|
Binary file not shown.
Loading…
Reference in New Issue