diff options
Diffstat (limited to 'src/internal/cgrouptest')
| -rw-r--r-- | src/internal/cgrouptest/cgrouptest_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/cgrouptest/cgrouptest_linux.go b/src/internal/cgrouptest/cgrouptest_linux.go index f23c37a705..8437f992f7 100644 --- a/src/internal/cgrouptest/cgrouptest_linux.go +++ b/src/internal/cgrouptest/cgrouptest_linux.go @@ -114,7 +114,7 @@ func findCurrent(t *testing.T) (string, string) { if ver != cgroup.V2 { t.Skipf("cgroup: running on cgroup v%d want v2", ver) } - rel := string(buf[1:n]) // The returned path always starts with /, skip it. + rel := string(buf[1:n]) // The returned path always starts with /, skip it. rel = filepath.Join(".", rel) // Make sure this isn't empty string at root. return mount, rel } |
