SOLR-9610: Bugfix option key for assertTool

(cherry picked from commit 3488f12)
This commit is contained in:
Jan Høydahl 2016-10-22 02:31:27 +02:00
parent d18666b336
commit fd623d4cfd
1 changed files with 1 additions and 1 deletions

View File

@ -3268,7 +3268,7 @@ public class SolrCLI {
if (cli.hasOption("s")) { if (cli.hasOption("s")) {
if (assertSolrRunning(cli.getOptionValue("s")) > 0) return 1; if (assertSolrRunning(cli.getOptionValue("s")) > 0) return 1;
} }
if (cli.hasOption("s")) { if (cli.hasOption("S")) {
if (assertSolrNotRunning(cli.getOptionValue("S")) > 0) return 1; if (assertSolrNotRunning(cli.getOptionValue("S")) > 0) return 1;
} }
return 0; return 0;