fix shellcheck warnings
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Alexander Lehmann 2023-09-30 19:03:28 +02:00
parent 4ab7aa8b36
commit 3df0853621
1 changed files with 2 additions and 9 deletions

View File

@ -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"