Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1961

jboss-cli.sh exit status to reflect commands status

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 8.0.0.Alpha4
    • CLI

    Description

      jboss-cli.sh should exit with non-zero exit code when commands passed through it have had any failures.

      It's good to have a mode where it fails on the first failed CLI command. (like `sh -e`).

      At the moment it exits always with `0` so shell doesn't know if there have been any errors executing the commands or not. This will greatly help scripting with jboss-cli.

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            akostadi1@redhat.com Aleksandar Kostadinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: