The following command always returns the code 0
bin/client -f install-features.cli echo $?
even though if there is an error, e.g. if the file contains
feature:install camel-foo
Here is the full result of my commands
$ ./bin/client -f /tmp/install-features.cli
Logging in as admin
Error executing command: No matching features for camel-foo/0
$ echo $?
0