connect: don't report EACCES
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Apr 2013 15:50:20 +0000 (11:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Apr 2013 15:50:20 +0000 (11:50 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-comm/lttng-ust-comm.c

index 7a87ff1a7215edfff2ebe52cb871a9bf88ba7e8b..087424fe66626a6dd393315ccb3fa896c54322ff 100644 (file)
@@ -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)
This page took 0.027334 seconds and 4 git commands to generate.