(main): Use new safe location for socket.
This commit is contained in:
parent
335028c3be
commit
caa4df2b5d
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ main (argc, argv)
|
|||
{
|
||||
int sock_status = 0;
|
||||
|
||||
sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name);
|
||||
sprintf (server.sun_path, "/tmp/emacs%d-%s/server", (int) geteuid (), system_name);
|
||||
|
||||
/* See if the socket exists, and if it's owned by us. */
|
||||
sock_status = socket_status (server.sun_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue