Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions recipes-ni/ni-cgroups/files/ni-cgroups
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ identify_lvrt_cgroup_version()
lvrt_version=$(awk '{print $3}' <<<"$lvrt_installed")
major_version=${lvrt_version%%.*}

# LabVIEW RT 2025 and prior versions only support cgroups v1
[ -n "$major_version" ] && [ "$major_version" -le 25 ] && echo 1 || echo 2
# LabVIEW RT 2026 and prior versions only support cgroups v1
[ -n "$major_version" ] && [ "$major_version" -le 26 ] && echo 1 || echo 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a comment to remind ourselves not to merge this accidentally. The v2 code is functional and this change is likely not needed.

}

LVRT_CGROUP_VERSION=$(identify_lvrt_cgroup_version)
Expand Down