Skip to content

Commit 0a21292

Browse files
committed
Check for more kill error types
Signed-off-by: Michael Crosby <[email protected]>
1 parent 1af133f commit 0a21292

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)