fix if
This commit is contained in:
parent
7fe196faea
commit
6cf7db5461
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue