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 D390FCBF6 for ; Sun, 15 Sep 2013 01:33:52 +0000 (UTC) Received: (qmail 69833 invoked by uid 500); 15 Sep 2013 01:33:52 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 69797 invoked by uid 500); 15 Sep 2013 01:33:52 -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 69787 invoked by uid 99); 15 Sep 2013 01:33:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2013 01:33:51 +0000 Date: Sun, 15 Sep 2013 01:33:51 +0000 (UTC) From: "Chris Geer (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KARAF-2471) Karaf Wrapper doesn't return the correct exit result when using RUN_AS_USER MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chris Geer created KARAF-2471: --------------------------------- Summary: Karaf Wrapper doesn't return the correct exit result when using RUN_AS_USER Key: KARAF-2471 URL: https://issues.apache.org/jira/browse/KARAF-2471 Project: Karaf Issue Type: Bug Affects Versions: 3.0.0.RC1, 2.3.2, 2.2.11 Reporter: Chris Geer Priority: Minor Fix For: 2.2.12, 2.3.3, 3.0.0 When RUN_AS_USER is set the wrapper script will su to that user and then rerun the script. The issue is the parent script doesn't capture the exit code of the su child process but instead always returns 0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira