Github user trixpan commented on a diff in the pull request:
    --- Diff: 
nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/ ---
    @@ -581,30 +585,31 @@ private Status getStatus(final Logger logger) {
             return new Status(port, pid, pingSuccess, alive);
    -    public void status() throws IOException {
    +    public int status() throws IOException {
             final Logger logger = cmdLogger;
             final Status status = getStatus(logger);
             if (status.isRespondingToPing()) {
       "Apache NiFi is currently running, listening to 
Bootstrap on port {}, PID={}",
                         new Object[]{status.getPort(), status.getPid() == null 
? "unknown" : status.getPid()});
    -            return;
    +            return 0;
             if (status.isProcessRunning()) {
       "Apache NiFi is running at PID {} but is not 
responding to ping requests", status.getPid());
    -            return;
    +            return 0;
    --- End diff --
    Bear with me while I defer this to the wider community. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to