wintun: never return nil, nil

This commit is contained in:
Jason A. Donenfeld 2019-05-23 15:25:53 +02:00
parent a74a29bc93
commit 8fdcf5ee30

View File

@ -168,7 +168,7 @@ func GetInterface(ifname string, hwndParent uintptr) (*Wintun, error) {
} }
} }
return nil, nil return nil, windows.ERROR_OBJECT_NOT_FOUND
} }
// //