fix shellcheck warnings
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
4ab7aa8b36
commit
3df0853621
11
misfin.sh
11
misfin.sh
|
@ -22,17 +22,10 @@ fi
|
|||
USER=$1
|
||||
shift
|
||||
|
||||
HOST=`echo $USER|sed 's/.*@//'`
|
||||
|
||||
if [ $PORT != 1958 ]
|
||||
then
|
||||
HOSTPORT=$HOST:$PORT
|
||||
else
|
||||
HOSTPORT=$HOST
|
||||
fi
|
||||
HOST=$(echo "$USER"|sed 's/.*@//')
|
||||
|
||||
PROXY=
|
||||
#PROXY=-proxy localhost:8118
|
||||
|
||||
echo "misfin://$USER $*\r" | openssl s_client -cert $KEY -quiet $PROXY -connect $HOST:$PORT
|
||||
printf "misfin://%s %s\r\n" "$USER" "$*" | openssl s_client -cert "$KEY" -quiet $PROXY -connect "$HOST:$PORT"
|
||||
|
||||
|
|
Loading…
Reference in New Issue