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

Fall back to /usr/lib/os-release if /etc/os-release doesn't exist #2380

Merged
merged 2 commits into from
Apr 19, 2022

Conversation

oscarwcl
Copy link
Contributor

From https://www.freedesktop.org/software/systemd/man/os-release.html:

The file /etc/os-release takes precedence over /usr/lib/os-release.
Applications should check for the former, and exclusively use its data
if it exists, and only fall back to /usr/lib/os-release if it is
missing.

From https://www.freedesktop.org/software/systemd/man/os-release.html:

> The file /etc/os-release takes precedence over /usr/lib/os-release.
> Applications should check for the former, and exclusively use its data
> if it exists, and only fall back to /usr/lib/os-release if it is
> missing.
@dnfadmin
Copy link

dnfadmin commented Apr 10, 2022

CLA assistant check
All CLA requirements met.

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

@filipw filipw enabled auto-merge April 19, 2022 12:26
@filipw filipw merged commit 0208ea2 into OmniSharp:master Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants