[
https://issues.apache.org/jira/browse/KARAF-7133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340095#comment-17340095
]
ASF subversion and git services commented on KARAF-7133:
--------------------------------------------------------
Commit c9b5c343d0ad5c0e1fc7b95b14b79ef748908821 in karaf's branch
refs/heads/main from Johannes Utzig
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=c9b5c34 ]
[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.
> 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
> Fix For: 4.2.12, 4.3.2
>
>
> 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)