cosmetic changes
This commit is contained in:
parent
b77b885e75
commit
a664c2beda
1 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue