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

This commit is contained in:
Marek Marczykowski-Górecki 2015-05-24 20:47:34 +02:00
parent d922552198
commit 52a1fee533

View File

@ -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); len = strlen(remote.sun_path) + sizeof(remote.sun_family);
if (connect(s, (struct sockaddr *) &remote, len) == -1) { if (connect(s, (struct sockaddr *) &remote, len) == -1) {
if (errno != ECONNREFUSED) if (errno != ECONNREFUSED && errno != ENOENT)
perror("connect"); perror("connect");
close(s); close(s);
return -1; return -1;