Skip to content

Commit 51f8807

Browse files
authored
Merge pull request #3672 from crosbymichael/kill-errors
Check for more kill error types
2 parents 1af133f + 0a21292 commit 51f8807

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/process/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ func checkKillError(err error) error {
127127
}
128128
if strings.Contains(err.Error(), "os: process already finished") ||
129129
strings.Contains(err.Error(), "container not running") ||
130+
strings.Contains(strings.ToLower(err.Error()), "no such process") ||
130131
err == unix.ESRCH {
131132
return errors.Wrapf(errdefs.ErrNotFound, "process already finished")
132133
}

0 commit comments

Comments
 (0)