From fd623d4cfdaa934edd7f92b8f72e5899e26a27c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Sat, 22 Oct 2016 02:31:27 +0200 Subject: [PATCH] SOLR-9610: Bugfix option key for assertTool (cherry picked from commit 3488f12) --- solr/core/src/java/org/apache/solr/util/SolrCLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/util/SolrCLI.java b/solr/core/src/java/org/apache/solr/util/SolrCLI.java index b0d31863d5f..0010d1e4df4 100644 --- a/solr/core/src/java/org/apache/solr/util/SolrCLI.java +++ b/solr/core/src/java/org/apache/solr/util/SolrCLI.java @@ -3268,7 +3268,7 @@ public class SolrCLI { if (cli.hasOption("s")) { if (assertSolrRunning(cli.getOptionValue("s")) > 0) return 1; } - if (cli.hasOption("s")) { + if (cli.hasOption("S")) { if (assertSolrNotRunning(cli.getOptionValue("S")) > 0) return 1; } return 0;