debug
This commit is contained in:
parent
f79935139b
commit
def29fc5a7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue