system: Adjust return value of bashrc.

Fixes a regression introduced in c743d646ee.

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 <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Mazin AlHaddad 2025-06-08 04:07:22 +03:00 committed by Hilton Chain
parent efbd55d6fa
commit 1a09cd1882
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -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