Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nil check before convert typed error back #20

Closed
wants to merge 1 commit into from

Commits on Apr 18, 2020

  1. Add nil check before convert typed error back

    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 <viz@linux.com>
    vizv committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    49e7ebe View commit details
    Browse the repository at this point in the history