[ 
https://issues.apache.org/jira/browse/KARAF-7133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340091#comment-17340091
 ] 

ASF subversion and git services commented on KARAF-7133:
--------------------------------------------------------

Commit 31b2f50f94dcb034baa7ae22d2112cd965358069 in karaf's branch 
refs/heads/karaf-4.2.x from Johannes Utzig
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=31b2f50 ]

[KARAF-7133] Allow karaf commands to have return codes

only print out results if they are not integers. If they are integers,
they should are treated as exit codes.

(cherry picked from commit c9b5c343d0ad5c0e1fc7b95b14b79ef748908821)


> Allow karaf commands to have return codes
> -----------------------------------------
>
>                 Key: KARAF-7133
>                 URL: https://issues.apache.org/jira/browse/KARAF-7133
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Johannes Utzig
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> I originally opened KARAF-5568 about this and provided a pull request, but 
> the change became non-functional with KARAF-5748
> As a I middle ground I will create a pull request to use integer values as 
> command exit code.
> If any other object is returned, it is printed out as before.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to