connect: don't report EACCES
[lttng-ust.git] / liblttng-ust-comm / lttng-ust-comm.c
index fd48a515e762109acea7b31d4c7b8566f5f04f39..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 != ENOENT && errno != EACCES)
                        PERROR("connect");
                ret = -errno;
                if (ret == -ECONNREFUSED || ret == -ECONNRESET)
This page took 0.022728 seconds and 4 git commands to generate.