From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8ESw-0003Bb-5U for guix-patches@gnu.org; Fri, 27 Oct 2017 19:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8ESs-0003pc-GO for guix-patches@gnu.org; Fri, 27 Oct 2017 19:55:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8ESs-0003pQ-BE for guix-patches@gnu.org; Fri, 27 Oct 2017 19:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8ESs-0005F0-4s for guix-patches@gnu.org; Fri, 27 Oct 2017 19:55:02 -0400 Subject: [bug#29035] [PATCH 2/2] skel: Return early from .bashrc when the shell is non-interactive. Resent-Message-ID: From: Marius Bakke Date: Sat, 28 Oct 2017 01:53:57 +0200 Message-Id: <20171027235357.28600-2-mbakke@fastmail.com> In-Reply-To: <20171027235357.28600-1-mbakke@fastmail.com> References: <20171027235357.28600-1-mbakke@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29035@debbugs.gnu.org * gnu/system/shadow.scm (default-skeletons): Add return statement. --- gnu/system/shadow.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 475960b89..8d8dbc70a 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -163,6 +163,9 @@ then # (as in \"ssh host command\"). Source /etc/profile so we # get $PATH and other essential variables. source /etc/profile + + # Don't do anything else. + return fi # Adjust the prompt depending on whether we're in 'guix environment'. -- 2.14.3