summaryrefslogtreecommitdiff
path: root/releng/airootfs/etc/profile.d/raveos-fastfetch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'releng/airootfs/etc/profile.d/raveos-fastfetch.sh')
-rw-r--r--releng/airootfs/etc/profile.d/raveos-fastfetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/releng/airootfs/etc/profile.d/raveos-fastfetch.sh b/releng/airootfs/etc/profile.d/raveos-fastfetch.sh
index c97dc67..55460b8 100644
--- a/releng/airootfs/etc/profile.d/raveos-fastfetch.sh
+++ b/releng/airootfs/etc/profile.d/raveos-fastfetch.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# RaveOS terminal greeting
# Guard: prevent double execution (login shell profile.d + .bashrc)
-[[ -n "$_RAVEOS_GREETING_DONE" ]] && return 2>/dev/null
+[[ -n "$_RAVEOS_GREETING_DONE" ]] && { return 2>/dev/null || exit 0; }
_RAVEOS_GREETING_DONE=1
if command -v fastfetch &>/dev/null; then