fixed socat

This commit is contained in:
jan6 2021-09-08 21:10:56 +03:00
parent bc9a0de6e8
commit e11680ff8b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if [ -n "$i" ];then
domain="$(echo "$a"|cut -d / -f 1)"
url="$(echo "$a"|cut -d / -f 2-)"
printf "%s\r\n" "gemini://$domain/$url"|
socat openssl-connect:"$domain":1965,verify=0 stdio
socat openssl-connect:"$domain":1965,verify=0 stdio,ignoreeof
}
else
echo "no gemini:// url detected!"