Skip to content

Commit ef68f13

Browse files
committed
fix logging suppression
1 parent 16fa177 commit ef68f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ package common
33
import "strings"
44

55
func IsNotExist(err error) bool {
6-
return strings.Contains(err.Error(), "no such file or directory") && strings.Contains(err.Error(), "no such process")
6+
return strings.Contains(err.Error(), "no such file or directory") || strings.Contains(err.Error(), "no such process")
77
}

0 commit comments

Comments
 (0)