From bdd8ca83b1aee3f535c096ae01f2afc2073c1376 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 9 Apr 2013 11:50:20 -0400 Subject: [PATCH] connect: don't report EACCES Signed-off-by: Mathieu Desnoyers --- liblttng-ust-comm/lttng-ust-comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblttng-ust-comm/lttng-ust-comm.c b/liblttng-ust-comm/lttng-ust-comm.c index 7a87ff1a..087424fe 100644 --- a/liblttng-ust-comm/lttng-ust-comm.c +++ b/liblttng-ust-comm/lttng-ust-comm.c @@ -123,7 +123,7 @@ int ustcomm_connect_unix_sock(const char *pathname) * file exists but no sessiond is listening. */ if (errno != ECONNREFUSED && errno != ECONNRESET - && errno != ENOENT && errno != EPERM) + && errno != ENOENT && errno != EACCES) PERROR("connect"); ret = -errno; if (ret == -ECONNREFUSED || ret == -ECONNRESET) -- 2.34.1