You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2014/12/05 16:10:21 UTC
svn commit: r1643317 - /lucene/dev/trunk/solr/bin/solr
Author: thelabdude
Date: Fri Dec 5 15:10:21 2014
New Revision: 1643317
URL: http://svn.apache.org/r1643317
Log:
SOLR-6653: don't exit with error code if restarting
Modified:
lucene/dev/trunk/solr/bin/solr
Modified: lucene/dev/trunk/solr/bin/solr
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/bin/solr?rev=1643317&r1=1643316&r2=1643317&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/solr (original)
+++ lucene/dev/trunk/solr/bin/solr Fri Dec 5 15:10:21 2014
@@ -895,8 +895,10 @@ else
if [ "$SOLR_PID" != "" ]; then
stop_solr "$SOLR_SERVER_DIR" "$SOLR_PORT" "$STOP_KEY" "$SOLR_PID"
else
- echo -e "No process found for Solr node running on port $SOLR_PORT"
- exit 1
+ if [ "$SCRIPT_CMD" == "stop" ]; then
+ echo -e "No process found for Solr node running on port $SOLR_PORT"
+ exit 1
+ fi
fi
fi