We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1af133f + 0a21292 commit 51f8807Copy full SHA for 51f8807
1 file changed
pkg/process/utils.go
@@ -127,6 +127,7 @@ func checkKillError(err error) error {
127
}
128
if strings.Contains(err.Error(), "os: process already finished") ||
129
strings.Contains(err.Error(), "container not running") ||
130
+ strings.Contains(strings.ToLower(err.Error()), "no such process") ||
131
err == unix.ESRCH {
132
return errors.Wrapf(errdefs.ErrNotFound, "process already finished")
133
0 commit comments