mirror of
https://github.com/tmate-io/tmate.git
synced 2025-06-25 20:11:34 +02:00
Cleanup socket
This commit is contained in:
parent
1ade196fb2
commit
78305a7077
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);
|
proc_loop(server_proc, server_loop);
|
||||||
status_prompt_save_history();
|
status_prompt_save_history();
|
||||||
|
#ifdef TMATE
|
||||||
|
unlink(socket_path);
|
||||||
|
#endif
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user