diff --git a/gitlab/integration.sh b/gitlab/integration.sh index c3b57d1956..6d74f2cad9 100755 --- a/gitlab/integration.sh +++ b/gitlab/integration.sh @@ -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"