Skip to content

Conversation

vizv
Copy link
Contributor

@vizv vizv commented Apr 18, 2020

Since errors.As(err, target) returns false when err is nil,
which cause status set to 1 when no error occurs for IpcGetOperation and IpcSetOperation.

Should be able to fix #17

Signed-off-by: Wenxuan Zhao [email protected]

Since errors.As(err, target) returns false when err is nil,
which cause status set to 1 when no error occurs for Ipc{Get,Set}Operation.

Signed-off-by: Wenxuan Zhao <[email protected]>
@maxsofty
Copy link

it look better

@crawshaw
Copy link
Collaborator

crawshaw commented May 1, 2020

LGTM, thanks, I didn't realize this was broken.

@vizv
Copy link
Contributor Author

vizv commented May 2, 2020

Closed as it's merged in 75a41b2

@vizv vizv closed this May 2, 2020
@vizv vizv deleted the fix-error-conversion branch May 2, 2020 01:45
reflog pushed a commit to getlantern/wireguard-go that referenced this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants