This commit is contained in:
Jakobus Schürz 2021-02-07 21:30:38 +01:00
parent 7fe196faea
commit 6cf7db5461

View file

@ -88,7 +88,7 @@ if ! $SSHS; then
logwarn "tmux@${USER}: $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? )" logwarn "tmux@${USER}: $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? )"
if test $SSH_TTY; then if test $SSH_TTY; then
logwarn "im remote" logwarn "im remote"
if test ! $TMUX && $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
logwarn "tmux@${USER} is running" logwarn "tmux@${USER} is running"