소스 검색

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

Marek Marczykowski-Górecki 9 년 전
부모
커밋
52a1fee533
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;