You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2023/09/12 16:08:53 UTC

[solr] branch branch_9x updated: SOLR-16956: fix not being able to stop a solr by port number

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 67d63d9102f SOLR-16956: fix not being able to stop a solr by port number
67d63d9102f is described below

commit 67d63d9102fa171f23aff511798eb6d7e7c3afaa
Author: Houston Putman <ho...@apache.org>
AuthorDate: Tue Sep 12 12:08:21 2023 -0400

    SOLR-16956: fix not being able to stop a solr by port number
---
 solr/bin/solr | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/bin/solr b/solr/bin/solr
index 63eb7d67ac4..5311388020d 100644
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -1778,6 +1778,7 @@ if [ $# -gt 0 ]; then
               exit 1
             fi
             SOLR_PORT="$2"
+            PROVIDED_SOLR_PORT="${SOLR_PORT}"
             PASS_TO_RUN_EXAMPLE+=("-p" "$SOLR_PORT")
             shift 2
         ;;