Fix variable name

This commit is contained in:
Joona Hoikkala 2016-07-30 11:07:04 +03:00
parent c87282d5aa
commit 63a47f8b6b
No known key found for this signature in database
GPG key ID: C14AAE0F5ADCB854

View file

@ -278,7 +278,7 @@ def get_systemd_os_like(filepath="/etc/os-release"):
:rtype: `list` of `str`
"""
return _get_systemd_os_release_var("LIKE", filepath).split(" ")
return _get_systemd_os_release_var("ID_LIKE", filepath).split(" ")
def _get_systemd_os_release_var(varname, filepath="/etc/os-release"):