From f3a881e6f7155c754b4263af2a9882137f1589a3 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 3 Apr 2026 21:15:16 +0200 Subject: [PATCH] core.func: prevent profile.d scripts from aborting on non-zero exit (#13503) --- misc/core.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/core.func b/misc/core.func index 95d93c83d..6b4190caa 100644 --- a/misc/core.func +++ b/misc/core.func @@ -143,7 +143,7 @@ ensure_profile_loaded() { # Source all profile.d scripts to ensure PATH is complete if [[ -d /etc/profile.d ]]; then for script in /etc/profile.d/*.sh; do - [[ -r "$script" ]] && source "$script" + [[ -r "$script" ]] && source "$script" || true done fi