# HG changeset patch # User Jim Blandy # Date 711407077 0 # Node ID fc1f790220a437ea4f0e04dc13e1f27051470788 # Parent 6aabed5f5d58a9154e80e6a67b2e2daedb1fbe01 *** empty log message *** diff -r 6aabed5f5d58 -r fc1f790220a4 lib-src/emacsclient.c --- a/lib-src/emacsclient.c Fri Jul 17 20:35:53 1992 +0000 +++ b/lib-src/emacsclient.c Fri Jul 17 21:04:37 1992 +0000 @@ -97,7 +97,11 @@ if (stat (server.sun_path, &statbfr) == -1) { - perror ("stat"); + if (errno == ENOENT) + fprintf (stderr, + "Can't find socket; have you started the server?\n"); + else + perror ("stat"); exit (1); } if (statbfr.st_uid != geteuid())