diff options
| author | Mazin AlHaddad <codeberg@getstate.dev> | 2025-06-08 04:07:22 +0300 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-06-12 20:17:49 +0800 |
| commit | 1a09cd18820b91c9ddb30c08a8eecbe72a9e84b5 (patch) | |
| tree | 39ab842a1aa6a0abda03ab911acfdcbbfa5aec72 /gnu/system | |
| parent | efbd55d6fa2fb32f311054a17df3929efe05f0fe (diff) | |
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 <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu/system')
| -rw-r--r-- | gnu/system/shadow.scm | 4 |
1 files 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 | |||
| 164 | # /etc/profile so we get PATH and other essential variables. | 164 | # /etc/profile so we get PATH and other essential variables. |
| 165 | [[ -n \"$SSH_CLIENT\" ]] && source /etc/profile | 165 | [[ -n \"$SSH_CLIENT\" ]] && source /etc/profile |
| 166 | 166 | ||
| 167 | # Don't do anything else. | 167 | # Don't do anything else, returning a successful return code. |
| 168 | return | 168 | return 0 |
| 169 | fi | 169 | fi |
| 170 | 170 | ||
| 171 | for i in /etc/bashrc.d/*.sh; do | 171 | for i in /etc/bashrc.d/*.sh; do |
