Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-135

Error when trying to stop already stopped MiNiFi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.0.1
    • 0.1.0
    • None
    • CentOS 7

    Description

      If calling

      ./minifi.sh stop
      

      when MiNiFi is already stopped, the process will kill PID -1. When connected to the host by SSH, I get disconnected from the host.

      I'd suggest replacing:

      if [ $(active_pid ${saved_pid}) -ne 0 ]; then
      

      by

      if [ $(active_pid ${saved_pid}) -le 0 ]; then
      

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: