Skip to content

Only parse /etc/os-release if it isn't empty

Chris Burr requested to merge os-release-empty into master

The fields in /etc/os-release are all optional and some systems provide an empty file.

This follows how Ansible handles this: https://github.com/ansible/ansible/pull/7887

Merge request reports