diff options
-rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 187d2d7b5be..66ada43908e 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1535,6 +1535,7 @@ start_daemon_and_retry_set_socket (void) d_argv[0] = emacs; d_argv[1] = daemon_option; d_argv[2] = 0; +#ifndef NO_SOCKETS_IN_FILE_SYSTEM if (socket_name != NULL) { /* Pass --daemon=socket_name as argument. */ @@ -1544,6 +1545,7 @@ start_daemon_and_retry_set_socket (void) strcpy (stpcpy (daemon_arg, deq), socket_name); d_argv[1] = daemon_arg; } +#endif execvp ("emacs", d_argv); message (true, "%s: error starting emacs daemon\n", progname); } |