mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-17 16:35:00 +00:00
Cleanup socket
This commit is contained in:
parent
1ade196fb2
commit
78305a7077
1 changed files with 3 additions and 0 deletions
3
server.c
3
server.c
|
|
@ -213,6 +213,9 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
|
|||
|
||||
proc_loop(server_proc, server_loop);
|
||||
status_prompt_save_history();
|
||||
#ifdef TMATE
|
||||
unlink(socket_path);
|
||||
#endif
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue