Fix regex match doc of procfs.PidOf

pull/6/head
Pengfei Ni 2017-02-13 23:10:14 +08:00
parent e80afed777
commit 55bfc8d7e6
1 changed files with 1 additions and 1 deletions

View File

@ -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 {