add debug
This commit is contained in:
parent
03a09069c6
commit
4eafc733d8
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ if ! $SSHS; then
|
||||||
|
|
||||||
# Start tmux if not defined as STARTTMUX in bashrc
|
# Start tmux if not defined as STARTTMUX in bashrc
|
||||||
logwarn -n "attach tmux?"
|
logwarn -n "attach tmux?"
|
||||||
|
logwarn "TMUX: $TMUX"
|
||||||
|
logwarn "SSH_TTY: $SSH_TTY"
|
||||||
|
logwarn "TERM: $TERM"
|
||||||
|
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}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue