Skip to content

Commit

Permalink
Use quiet grep for detecting cgroup version
Browse files Browse the repository at this point in the history
Suggested-by: Jaap Eldering <[email protected]>
Signed-off-by: Kevin Jilissen <[email protected]>
  • Loading branch information
Kevinjil authored and vmcj committed Sep 19, 2024
1 parent 1b687d9 commit 7a6ac2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ section_end mount

section_start check_cgroup_v1 "Checking for cgroup v1 availability"

if grep cgroup$ /proc/filesystems; then
if grep -qs cgroup$ /proc/filesystems; then
cgroupv1=1
else
echo "Skipping tests that rely on cgroup v1"
Expand Down

0 comments on commit 7a6ac2e

Please sign in to comment.