You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by cp...@apache.org on 2024/01/22 12:26:51 UTC

(solr) 01/02: SOLR-17074: Fixed not correctly escaped quote in bin/solr script (#2200)

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

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

commit 4b1d291792159923c85f7d3bd81c2d4624a28ee2
Author: Vincenzo D'Amore <46...@users.noreply.github.com>
AuthorDate: Mon Jan 22 13:21:33 2024 +0100

    SOLR-17074: Fixed not correctly escaped quote in bin/solr script (#2200)
    
    (cherry picked from commit a7441c175a4b86817a1dc3deeb3d4761bc1150da)
---
 solr/CHANGES.txt | 2 ++
 solr/bin/solr    | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index b1a12d5680f..435cc31b39e 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -96,6 +96,8 @@ Bug Fixes
 
 * SOLR-17116: The INSTALLSHARDDATA "collection-admin" API now reports errors correctly when run asynchronously. (Jason Gerlowski)
 
+* SOLR-17074: Fixed not correctly escaped quote in bin/solr script (Dominique BĂ©jean, Vincenzo D'Amore)
+
 Dependency Upgrades
 ---------------------
 * SOLR-17012: Update Apache Hadoop to 3.3.6 and Apache Curator to 5.5.0 (Kevin Risden)
diff --git a/solr/bin/solr b/solr/bin/solr
index 278c6177924..a6af5efdb7e 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -440,8 +440,8 @@ function print_usage() {
     echo ""
     echo "  -noprompt             Don't prompt for input; accept all defaults when running examples that accept user input"
     echo ""
-    echo "  -force                If attempting to start Solr as the root user, the script will exit with a warning that running Solr as "root" can cause problems."
-    echo "                          It is possible to override this warning with the `-force` parameter."
+    echo "  -force                If attempting to start Solr as the root user, the script will exit with a warning that running Solr as \"root\" can cause problems."
+    echo "                          It is possible to override this warning with the '-force' parameter."
     echo ""
     echo "  -v and -q             Verbose (-v) or quiet (-q) logging. Sets default log level of Solr to DEBUG or WARN instead of INFO"
     echo ""