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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content