add debug

This commit is contained in:
Jakobus Schürz 2021-02-07 21:20:19 +01:00
parent 4eafc733d8
commit 61c600ffbf

View file

@ -88,7 +88,9 @@ 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 ! $TMUX && test $SSH_TTY && test $TERM != screen && test $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? ) -eq 0; then if test ! $TMUX && test $SSH_TTY && test $TERM != screen && test $(systemctl status tmux@${USER}.service 1>/dev/null 2>&1; echo $? ) -eq 0; then
: # STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT} : # STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
logwarn "TEST1"
else else
logwarn "TEST2"
STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT} STARTTMUXDEFAULT=${STARTTMUXREMOTEDEFAULT}
fi fi
logwarn "${STARTTMUXDEFAULT}" logwarn "${STARTTMUXDEFAULT}"