1
0
Эх сурвалжийг харах

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

Jacky 4 өдөр өмнө
parent
commit
56ffade4e2

+ 0 - 3
internal/self_check/nginx.go

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