fix(build): unused variable in Windows process check
This commit is contained in:
parent
5a7449b9e6
commit
16039a88a8
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import (
|
|||
// On Windows, os.FindProcess + a zero-timeout wait is used since
|
||||
// signal 0 is not supported.
|
||||
func IsProcessAlive(pid int) bool {
|
||||
p, err := os.FindProcess(pid)
|
||||
_, err := os.FindProcess(pid)
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue