Fix pmctl linter errors

This commit is contained in:
Daniel
2020-04-10 13:19:07 +02:00
parent 881c269c1b
commit c20c73a2d8
3 changed files with 17 additions and 20 deletions

View File

@@ -83,7 +83,7 @@ func attachToParentConsole() (attached bool, err error) {
if err != nil {
return false, err
}
r1, _, err := procAttachConsole.Call(windowsAttachParentProcess)
r1, _, _ := procAttachConsole.Call(windowsAttachParentProcess)
if r1 == 0 {
// possible errors:
// ERROR_ACCESS_DENIED: already attached to console