]> git.eshelyaron.com Git - emacs.git/commit
emacsclient: fix child exit when exec fails
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Nov 2018 08:33:37 +0000 (00:33 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Nov 2018 08:33:50 +0000 (00:33 -0800)
commit652dabfff6f99631f8f3d6c3a658f0b8895d48b0
tree6b69ebd557fa7975edafdd378e589305861af05d
parentef1f60301aabbcfc940bf8a826cd174ba2d0439c
emacsclient: fix child exit when exec fails

* lib-src/emacsclient.c (start_daemon_and_retry_set_socket):
If the execvp of Emacs fails exit instead of having the child
run on and do the work of the parent.  Coalesce duplicate code.
lib-src/emacsclient.c