changeset 816:fc1f790220a4

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Fri, 17 Jul 1992 21:04:37 +0000
parents 6aabed5f5d58
children 1dd126823b36
files lib-src/emacsclient.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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())