mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
emacsclient --alternate-editor=/no/such diagnostic
* lib-src/emacsclient.c (fail): Also output errno indication when alternate editor fails. I noticed this when debugging Bug#81716.
This commit is contained in:
parent
490cd601ea
commit
e4dc8ddea9
|
|
@ -779,8 +779,8 @@ fail (void)
|
|||
memcpy (&new_argv[toks], main_argv + optind, extra_args_size);
|
||||
|
||||
execvp (*new_argv, new_argv);
|
||||
message (true, "%s: error executing alternate editor \"%s\"\n",
|
||||
progname, alternate_editor);
|
||||
message (true, "%s: error executing alternate editor \"%s\": %s\n",
|
||||
progname, alternate_editor, strerror (errno));
|
||||
}
|
||||
}
|
||||
exit (EXIT_FAILURE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue