Fix: action: lttng_action_group_add_action returns status invalid
[lttng-tools.git] / src / common / actions / group.c
index 1a434616f3d08fb1845f6d3c95faadeef029c59f..f5720741598af8c1288c1a383e38f3bd7c9be6e0 100644 (file)
@@ -278,7 +278,7 @@ enum lttng_action_status lttng_action_group_add_action(
        enum lttng_action_status status;
        int ret;
 
-       if (!group || !IS_GROUP_ACTION(action) || !action) {
+       if (!group || !IS_GROUP_ACTION(group) || !action) {
                status = LTTNG_ACTION_STATUS_INVALID;
                goto end;
        }
This page took 0.02306 seconds and 4 git commands to generate.