Github user bbende commented on the issue: https://github.com/apache/nifi/pull/2477 Fixed the issue with returning the appropriate exit code in standalone mode. An example of testing this would be running a script like the following: ``` #!/bin/sh CMD_OUT=`./bin/cli.sh registry xyz` STATUS_CODE=$? if [ $STATUS_CODE -eq 0 ]; then echo "SUCCESS" else echo "FAILURE" fi ``` This should print FAILURE since xyz is not a valid command, editing the script to replace xyz with list-buckets should print SUCCESS. Also added a security section to the README.
---