diff options
author | Jim Blandy <jimb@redhat.com> | 1992-07-17 21:04:37 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-07-17 21:04:37 +0000 |
commit | c0acc3e1cd36b203b6c1c37241fe634c5cfa3a54 (patch) | |
tree | be82cba86bf661341961ab78216fe0cff26517f9 /lib-src/emacsclient.c | |
parent | 279cc2b84ccbbb7796dc0081bcd829c7771b291c (diff) | |
download | emacs-c0acc3e1cd36b203b6c1c37241fe634c5cfa3a54.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r-- | lib-src/emacsclient.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index bd2edf62993..5f1a41a502d 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -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()) |