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

lib: fail gracefully if we can't find the username #2375

Merged
merged 2 commits into from May 19, 2021

Commits on Apr 12, 2021

  1. lib: move os.userInfo to a try block in a function

    Don't run this outside of a try block, as it can fail in some scenarios,
    especially some containerization or virtual system scenarios
    with no user ID or username.
    DeeDeeG committed Apr 12, 2021
    Copy the full SHA
    9f3e16c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d492f92 View commit details
    Browse the repository at this point in the history