Skip to content

Commit 7a6ac2e

Browse files
Kevinjilvmcj
authored andcommitted
Use quiet grep for detecting cgroup version
Suggested-by: Jaap Eldering <jaap@jaapeldering.nl> Signed-off-by: Kevin Jilissen <info@kevinjilissen.nl>
1 parent 1b687d9 commit 7a6ac2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/integration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ section_end mount
8383

8484
section_start check_cgroup_v1 "Checking for cgroup v1 availability"
8585

86-
if grep cgroup$ /proc/filesystems; then
86+
if grep -qs cgroup$ /proc/filesystems; then
8787
cgroupv1=1
8888
else
8989
echo "Skipping tests that rely on cgroup v1"

0 commit comments

Comments
 (0)