mirror of https://github.com/apache/lucene.git
SOLR-6653: don't exit with error code if restarting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
978aac3184
commit
af748a9254
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue