[
https://issues.apache.org/jira/browse/KARAF-6258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833326#comment-16833326
]
ASF subversion and git services commented on KARAF-6258:
--------------------------------------------------------
Commit 998ca25ee429235dbcd9feb9a4e7805ce4ca4cd9 in karaf's branch
refs/heads/master from Lars Kiesow
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=998ca25 ]
[KARAF-6258] Do not print error for user interrupted script
Karaf allows for the usage of commands like `log:tail` in
`etc/shell.init.script` which is handy for example for a development
assembly. But if such a command is canceled by a user (e.g. by hitting
Ctrl+C) an error message is logged and printed to stderr, claiming an
error in the initialization script.
While keeping the debug logging, this patch suppresses the stderr
message on user interrupts.
> Do not print error for user interrupted script
> ----------------------------------------------
>
> Key: KARAF-6258
> URL: https://issues.apache.org/jira/browse/KARAF-6258
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.2
> Reporter: Lars Kiesow
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 4.3.0, 4.2.6
>
>
> Karaf allows for the usage of commands like `log:tail` in
> `etc/shell.init.script` which is handy for example for a development
> assembly. But if such a command is canceled by a user (e.g. by hitting
> Ctrl+C) an error message is logged and printed to stderr, claiming an error
> in the initialization script.
> While the debug logging might still be handy, it would be nice to not have
> the stderr message on user interrupts.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)