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

jboss-cli.sh exit status to reflect commands status

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: