You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2022/12/04 10:48:56 UTC
[pulsar] branch tisonkun-patch-2 created (now 093bdadcacc)
This is an automated email from the ASF dual-hosted git repository.
tison pushed a change to branch tisonkun-patch-2
in repository https://gitbox.apache.org/repos/asf/pulsar.git
at 093bdadcacc [fix][cli] pulsar broker {-g|-h} should exit normally
This branch includes the following new commits:
new 093bdadcacc [fix][cli] pulsar broker {-g|-h} should exit normally
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[pulsar] 01/01: [fix][cli] pulsar broker {-g|-h} should exit normally
Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch tisonkun-patch-2
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 093bdadcacc6db6a3c1efa77c430cb26dddd56f3
Author: tison <wa...@gmail.com>
AuthorDate: Sun Dec 4 18:48:47 2022 +0800
[fix][cli] pulsar broker {-g|-h} should exit normally
This is somewhat of a blocker to https://github.com/apache/pulsar/issues/18721.
---
.../src/main/java/org/apache/pulsar/PulsarBrokerStarter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/PulsarBrokerStarter.java b/pulsar-broker/src/main/java/org/apache/pulsar/PulsarBrokerStarter.java
index e5e50985491..cfbd4ed3071 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/PulsarBrokerStarter.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/PulsarBrokerStarter.java
@@ -152,14 +152,14 @@ public class PulsarBrokerStarter {
jcommander.parse(args);
if (starterArguments.help) {
jcommander.usage();
- System.exit(-1);
+ System.exit(0);
}
if (starterArguments.generateDocs) {
CmdGenerateDocs cmd = new CmdGenerateDocs("pulsar");
cmd.addCommand("broker", starterArguments);
cmd.run(null);
- System.exit(-1);
+ System.exit(0);
}
// init broker config