Explorar el Código

qrexec: do not show message about missing fork-sever - it isn't an error

Marek Marczykowski-Górecki hace 9 años
padre
commit
52a1fee533
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      qrexec/qrexec-agent.c

+ 1 - 1
qrexec/qrexec-agent.c

@@ -179,7 +179,7 @@ int try_fork_server(int type, int connect_domain, int connect_port,
     }
     len = strlen(remote.sun_path) + sizeof(remote.sun_family);
     if (connect(s, (struct sockaddr *) &remote, len) == -1) {
-        if (errno != ECONNREFUSED)
+        if (errno != ECONNREFUSED && errno != ENOENT)
             perror("connect");
         close(s);
         return -1;