Bug 1426985

Summary: [GSS](6.4.z) JBoss-CLI "deploy -l" always returns exit code 1 even when it succeeds
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Masafumi Miura <mmiura>
Component: CLIAssignee: Petr Jurak <pjurak>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Mackay <pmackay>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.12CC: bmaxwell, brian.stansberry, jboss-set, pjurak, pmackay, rnetuka
Target Milestone: CR1   
Target Release: EAP 6.4.15   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-19 08:06:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1419353    

Description Masafumi Miura 2017-02-27 00:37:41 UTC
### Description of problem:

JBoss-CLI "deploy -l" always returns exit code 1 even when it succeededs.


### How reproducible:

Anytime


### Steps to Reproduce:

1. Start JBoss with deploying some applications
2. Execute the following JBoss-CLI command
    $ ./bin/jboss-cli.sh -c --command="deploy -l"
3. Check the exit code
    $ echo $?


### Actual results:

Exit code 1 is returned.


### Expected results:

Exit code 0 should be returned.

Comment 4 Peter Mackay 2017-05-12 13:23:23 UTC
Verified with EAP 6.4.15.CP.CR3

Comment 5 Petr Penicka 2017-05-19 08:06:46 UTC
Released on May 18 as part of EAP 6.4.15.