Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9483

Karaf client returns code 0 even though an error occurs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.2
    • fuse-7.1
    • Karaf
    • None
    • % %
    • Fuse 7.2 Sprint 35

    Description

      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
      

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            apodhrad@redhat.com Andrej Podhradsky
            Andrej Podhradsky Andrej Podhradsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: