Github user michalklempa commented on the issue:

    https://github.com/apache/nifi/pull/1093
  
    @JPercivall Oh my god. Thank you Joe for figuring this out. The problem is 
apparently on line 
https://github.com/apache/nifi/commit/99d3c397481a98a5b3d2d4e44b84516fc0e3675e#diff-0242d48c1b4267348183977fd0cf8966R305
    where I immediately exit the script with proper exit status. This works for 
stop and start, but since restart action calls the 'run' function twice, the 
exit directive only does 'stopping' and immediately exits.
    
    I will fix this later today and push to a new Pull Request as this change 
had already been merged. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to