From 1a09cd18820b91c9ddb30c08a8eecbe72a9e84b5 Mon Sep 17 00:00:00 2001 From: Mazin AlHaddad Date: Sun, 8 Jun 2025 04:07:22 +0300 Subject: [PATCH] system: Adjust return value of bashrc. Fixes a regression introduced in c743d646ee9104aa14d066cdf6657a0fac82ebea. Without this, the fish shell integration is broken, and PATH does not include ~/.config/guix/current/bin. * gnu/system/shadow.scm (%default-bashrc): Fix return value. Change-Id: I54170caeef7ae541a4901743fcdcbfb353fa09d4 Signed-off-by: Hilton Chain Modified-by: Hilton Chain --- gnu/system/shadow.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 6443fd9922d..792d2fb7aee 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -164,8 +164,8 @@ then # /etc/profile so we get PATH and other essential variables. [[ -n \"$SSH_CLIENT\" ]] && source /etc/profile - # Don't do anything else. - return + # Don't do anything else, returning a successful return code. + return 0 fi for i in /etc/bashrc.d/*.sh; do