Karaf client script only returns a non zero status if there is exception
Issue
When executing the karaf client script of JBoss Fuse a non zero return code is only returned if an exception occurs, however other errors can occur in which it would be nice to have a non zero return code.
Environment
- JBoss Fuse 6.0
- JBoss Fuse 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.