fix(self_check): remove redundant file existence check in CheckPIDPath function

This commit is contained in:
Jacky 2025-05-07 08:03:26 +08:00
parent b2ffe9ccb0
commit 56ffade4e2
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D

View file

@ -35,9 +35,6 @@ func CheckPIDPath() error {
if path == "" {
return ErrPIDPathNotExist
}
if !helper.FileExists(path) {
return ErrPIDPathNotExist
}
return nil
}