lttng-ctl: health: remove unreachable condition
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl-health.c
index dc1516db5d0c7336371e10f0408927eef34a949e..3de74fd11009bee33df7710f2a6d25fdeda1d05f 100644 (file)
@@ -231,8 +231,8 @@ struct lttng_health *lttng_health_create_relayd(const char *path)
                goto error;
        }
 
-       ret = lttng_strncpy(lh->health_sock_path, path ?: "",
-                           sizeof(lh->health_sock_path));
+       ret = lttng_strncpy(lh->health_sock_path, path,
+                       sizeof(lh->health_sock_path));
        if (ret) {
                goto error;
        }
This page took 0.02256 seconds and 4 git commands to generate.