diff options
| author | Jim Blandy | 1992-07-17 21:04:37 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-17 21:04:37 +0000 |
| commit | c0acc3e1cd36b203b6c1c37241fe634c5cfa3a54 (patch) | |
| tree | be82cba86bf661341961ab78216fe0cff26517f9 /lib-src | |
| parent | 279cc2b84ccbbb7796dc0081bcd829c7771b291c (diff) | |
| download | emacs-c0acc3e1cd36b203b6c1c37241fe634c5cfa3a54.tar.gz emacs-c0acc3e1cd36b203b6c1c37241fe634c5cfa3a54.zip | |
*** empty log message ***
Diffstat (limited to 'lib-src')
| -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) | |||
| 97 | 97 | ||
| 98 | if (stat (server.sun_path, &statbfr) == -1) | 98 | if (stat (server.sun_path, &statbfr) == -1) |
| 99 | { | 99 | { |
| 100 | perror ("stat"); | 100 | if (errno == ENOENT) |
| 101 | fprintf (stderr, | ||
| 102 | "Can't find socket; have you started the server?\n"); | ||
| 103 | else | ||
| 104 | perror ("stat"); | ||
| 101 | exit (1); | 105 | exit (1); |
| 102 | } | 106 | } |
| 103 | if (statbfr.st_uid != geteuid()) | 107 | if (statbfr.st_uid != geteuid()) |