SOLR-9610: Bugfix option key for assertTool

This commit is contained in:
Jan Høydahl 2016-10-22 02:31:27 +02:00
parent e3a8a0fe5f
commit 3488f12170
1 changed files with 1 additions and 1 deletions

View File

@ -3267,7 +3267,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;