From issues-return-27152-apmail-karaf-issues-archive=karaf.apache.org@karaf.apache.org Fri Nov 27 13:03:11 2015 Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 671BB1882D for ; Fri, 27 Nov 2015 13:03:11 +0000 (UTC) Received: (qmail 44949 invoked by uid 500); 27 Nov 2015 13:03:11 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 44856 invoked by uid 500); 27 Nov 2015 13:03:11 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 44510 invoked by uid 99); 27 Nov 2015 13:03:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2015 13:03:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F21CC2C1F56 for ; Fri, 27 Nov 2015 13:03:10 +0000 (UTC) Date: Fri, 27 Nov 2015 13:03:10 +0000 (UTC) From: "Torsten Mielke (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4150) bin/status fails if KARAF_DEBUG is set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4150?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1502= 9857#comment-15029857 ]=20 Torsten Mielke commented on KARAF-4150: --------------------------------------- The fix is simple: Simply add {code} if [ "x$MODE" =3D "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=C3=A9 > 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=20 > {code} > if [ "x$MODE" =3D "xstop" ]; then > return > fi > if [ "x$MODE" =3D "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)