*** empty log message ***
authorJim Blandy <jimb@redhat.com>
Fri, 17 Jul 1992 21:04:37 +0000 (21:04 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 17 Jul 1992 21:04:37 +0000 (21:04 +0000)
lib-src/emacsclient.c

index bd2edf6..5f1a41a 100644 (file)
@@ -97,7 +97,11 @@ main (argc, argv)
 
     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())