mirror of https://github.com/apache/lucene.git
SOLR-9610: Bugfix option key for assertTool
This commit is contained in:
parent
e3a8a0fe5f
commit
3488f12170
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue