diff --git a/peertube-cli.sh b/peertube-cli.sh index 1fadd3c..8f3b9af 100755 --- a/peertube-cli.sh +++ b/peertube-cli.sh @@ -30,7 +30,7 @@ torrent_init() check_connect() { - if [ -n "$(curl --head -s "$instance_point"/config | grep 'HTTP\/. 200')" ]; then + if [ -n "$(curl --head -s "$instance_point"/config | grep 'HTTP/. 200')" ]; then echo 'OK' else echo