mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(self_check): remove redundant file existence check in CheckPIDPath function
This commit is contained in:
parent
b2ffe9ccb0
commit
56ffade4e2
1 changed files with 0 additions and 3 deletions
|
@ -35,9 +35,6 @@ func CheckPIDPath() error {
|
||||||
if path == "" {
|
if path == "" {
|
||||||
return ErrPIDPathNotExist
|
return ErrPIDPathNotExist
|
||||||
}
|
}
|
||||||
if !helper.FileExists(path) {
|
|
||||||
return ErrPIDPathNotExist
|
|
||||||
}
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue