mirror of
https://github.com/akelge/zsh
synced 2025-07-03 05:05:28 +00:00
changes 4
This commit is contained in:
@ -16,7 +16,7 @@ while getopts ":hr:" arg; do
|
||||
r)
|
||||
remote=1
|
||||
host=$OPTARG
|
||||
hostname=echo $host|cut -d: -f1
|
||||
hostname=$(echo $host|cut -d: -f1)
|
||||
;;
|
||||
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.
Reference in New Issue
Block a user