aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-10-25 09:22:20 +0000
committerThomas Adam <thomas@xteddy.org>2015-10-25 09:22:20 +0000
commit3e0d31c4e9a40571de2fe1d1dd66cc2cac04d5c9 (patch)
treec26a84e00b59085fded806e11cf2c84da526136f /tmux.c
parent4acc8d0ff5d99fadd1ef91a3898f561dec5adfb7 (diff)
parent3faa51a0caebb56746988ae7f5e9e9f649dc42b6 (diff)
downloadrtmux-3e0d31c4e9a40571de2fe1d1dd66cc2cac04d5c9.tar.gz
rtmux-3e0d31c4e9a40571de2fe1d1dd66cc2cac04d5c9.tar.bz2
rtmux-3e0d31c4e9a40571de2fe1d1dd66cc2cac04d5c9.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 6e1de6f6..b8373ab7 100644
--- a/tmux.c
+++ b/tmux.c
@@ -131,8 +131,6 @@ makesocketpath(const char *label)
uid = getuid();
if ((s = getenv("TMUX_TMPDIR")) != NULL && *s != '\0')
xsnprintf(base, sizeof base, "%s/tmux-%u", s, uid);
- else if ((s = getenv("TMPDIR")) != NULL && *s != '\0')
- xsnprintf(base, sizeof base, "%s/tmux-%u", s, uid);
else
xsnprintf(base, sizeof base, "%s/tmux-%u", _PATH_TMP, uid);