You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2015/11/27 14:04:10 UTC
[jira] [Comment Edited] (KARAF-4150) bin/status fails if
KARAF_DEBUG is set
[ https://issues.apache.org/jira/browse/KARAF-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029857#comment-15029857 ]
Torsten Mielke edited comment on KARAF-4150 at 11/27/15 1:03 PM:
-----------------------------------------------------------------
The fix is simple:
Simply add
{code}
if [ "x$MODE" = "xstatus" ]; then
return
fi
{code}
to the karaf script in section:
{code}
if [ "x$KARAF_DEBUG" != "x" ]; then
...
fi
{code}
was (Author: tmielke):
The fix is simple:
Simply add
{code}
if [ "x$MODE" = "xstatus" ]; then
return
fi
{code}
to the karaf script.
> bin/status fails if KARAF_DEBUG is set
> --------------------------------------
>
> Key: KARAF-4150
> URL: https://issues.apache.org/jira/browse/KARAF-4150
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.4.0
> Reporter: Torsten Mielke
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Labels: shell-script
> Fix For: 2.4.4, 3.0.6, 4.0.4
>
>
> KARAF-1410 does not set the JPDA Debug options if
> {code}
> if [ "x$MODE" = "xstop" ]; then
> return
> fi
> if [ "x$MODE" = "xclient" ]; then
> return
> fi
> {code}
> but misses out on the bin/status command
> Running bin/status with KARAF_DEBUG enabled, raises the same error as in KARAF-1410.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)