mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-08 06:20:14 +01:00
Bug fix: $TMUX wasn't being reused properly
This commit is contained in:
parent
16dd13979e
commit
53355a0b92
8
tmux.c
8
tmux.c
@ -394,9 +394,11 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* -L or default set. */
|
||||
if ((path = makesocketpath(label)) == NULL) {
|
||||
fprintf(stderr, "can't create socket\n");
|
||||
exit(1);
|
||||
if (!path) {
|
||||
if ((path = makesocketpath(label)) == NULL) {
|
||||
fprintf(stderr, "can't create socket\n");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
free(label);
|
||||
|
Loading…
Reference in New Issue
Block a user