diff --git a/src/profile.sh b/src/profile.sh index e9604e4..dd64b9a 100644 --- a/src/profile.sh +++ b/src/profile.sh @@ -1,5 +1,5 @@ if [[ "$(tty)" == /dev/tty1 ]]; then [[ -n "$CDM_SPAWN" ]] && return - [[ -z "$DISPLAY`pgrep xinit`$SSH_TTY" ]] && exec cdm + [[ -z "$DISPLAY$SSH_TTY$(pgrep xinit)" ]] && exec cdm fi