This commit is contained in:
Jakobus Schürz 2021-02-20 15:53:43 +01:00
parent f79935139b
commit def29fc5a7

View file

@ -91,7 +91,7 @@ if ! $SSHS; then
if test ! $TMUX && test $TERM != screen; then if test ! $TMUX && test $TERM != screen; then
logwarn "no screen" logwarn "no screen"
# if test $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? ) -eq 0; then # if test $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? ) -eq 0; then
if test tmux has-session -t User -o tmux has-session -t "${USER}"; then if tmux has-session -t User || tmux has-session -t "${USER}"; then
logwarn "tmux@${USER} is running" logwarn "tmux@${USER} is running"
STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT} STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
fi fi