cosmetic changes

This commit is contained in:
n 2021-02-20 21:16:40 +01:00
parent b77b885e75
commit a664c2beda
Signed by: n
GPG key ID: E96086FC951DAE30

View file

@ -102,10 +102,10 @@ The following miniamlistic script can be used to check for capsule availability
``` ```
#!/bin/sh #!/bin/sh
TLS_CLIENT="/usr/local/bin/gnutls-cli -p 1965"
errorOutput=$(echo -n "gemini://$1/\r\n" | ${TLS_CLIENT} $1 2>&1 > /dev/null) errorOutput=$(echo -n "gemini://$1/\r\n" | /path/to/gnutls-cli -p 1965 $1 2>&1 > /dev/null)
errorCode=$? errorCode=$?
if [ $errorCode -gt 0 ] if [ $errorCode -gt 0 ]
then then
echo "ERROR: ${errorOutput}" echo "ERROR: ${errorOutput}"