From 55bfc8d7e6112d57ec998b8d57aec50cf87e0062 Mon Sep 17 00:00:00 2001 From: Pengfei Ni Date: Mon, 13 Feb 2017 23:10:14 +0800 Subject: [PATCH] Fix regex match doc of procfs.PidOf --- pkg/util/procfs/procfs_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/procfs/procfs_linux.go b/pkg/util/procfs/procfs_linux.go index 5a4fe71e6a..413f7a5436 100644 --- a/pkg/util/procfs/procfs_linux.go +++ b/pkg/util/procfs/procfs_linux.go @@ -90,7 +90,7 @@ func PKill(name string, sig syscall.Signal) error { return utilerrors.NewAggregate(errList) } -// Find process(es) with a specified name (exact match) +// Find process(es) with a specified name (regexp match) // and return their pid(s) func PidOf(name string) ([]int, error) { if len(name) == 0 {