[jboss-jira] [JBoss JIRA] (WFLY-1961) jboss-cli.sh exit status to reflect commands status

Aleksandar Kostadinov (JIRA) jira-events at lists.jboss.org
Tue Aug 27 10:57:26 EDT 2013


Aleksandar Kostadinov created WFLY-1961:
-------------------------------------------

             Summary: jboss-cli.sh exit status to reflect commands status
                 Key: WFLY-1961
                 URL: https://issues.jboss.org/browse/WFLY-1961
             Project: WildFly
          Issue Type: Feature Request
          Components: CLI
    Affects Versions: 8.0.0.Alpha4
            Reporter: Aleksandar Kostadinov
            Assignee: Alexey Loubyansky


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list