connect: don't print error on EPERM
[lttng-ust.git] / liblttng-ust-comm / lttng-ust-comm.c
index fd48a515e762109acea7b31d4c7b8566f5f04f39..7a87ff1a7215edfff2ebe52cb871a9bf88ba7e8b 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 != EPERM)
                        PERROR("connect");
                ret = -errno;
                if (ret == -ECONNREFUSED || ret == -ECONNRESET)
This page took 0.025184 seconds and 5 git commands to generate.