Skip to content
Snippets Groups Projects
Commit dccc070d authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard
Browse files

Better error message for really clueless newbies.

parent e940b8c9
No related branches found
No related tags found
No related merge requests found
......@@ -426,9 +426,9 @@ static int server_connect( const char *oldcwd, const char *serverdir )
usleep( 50000 );
if ((s = socket( AF_UNIX, SOCK_STREAM, 0 )) == -1) fatal_perror( "socket" );
if (connect( s, (struct sockaddr *)&addr, slen ) == -1)
fatal_error( "'%s/%s' exists,\n"
fatal_error( "file '%s/%s' exists,\n"
" but I cannot connect to it; maybe the server has crashed?\n"
" If this is the case, you should remove the socket file and try again.\n",
" If this is the case, you should remove this socket file and try again.\n",
serverdir, SOCKETNAME );
}
fcntl( s, F_SETFD, 1 ); /* set close on exec flag */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment