Apache Solr open-source search software
SOLR-3889: improve utf-8 test script error message when curl call to Solr fails
Mark Robert Miller94da721fc291
diff --git a/solr/example/exampledocs/test_utf8.sh b/solr/example/exampledocs/test_utf8.shindex feabbdb4fb8..edfd9720602 100755--- a/solr/example/exampledocs/test_utf8.sh+++ b/solr/example/exampledocs/test_utf8.sh@@ -27,7 +27,7 @@ curl "$URL/select?q=hello¶ms=explicit&wt=python" 2> /dev/null | grep 'hello'if [ $? = 0 ]; thenecho "Solr server is up."else- echo "ERROR: Solr is not up."+ echo "ERROR: Could not curl to Solr - is curl installed? Is Solr not running?"exit 1fi