Karaf client script only returns a non zero status if there is exception

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.