connect: don't report EACCES
[lttng-ust.git] / 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.024033 seconds and 4 git commands to generate.