break after parsing SuSE-release in facts.py
All sections that lead to succesful parsing of the version break afterwards, for SuSE-release this break was missing, potentiall causing #14837
This commit is contained in:
parent
9005f91bb0
commit
2c28dcc5cb
1 changed files with 1 additions and 0 deletions
|
@ -484,6 +484,7 @@ class Facts(object):
|
||||||
if release:
|
if release:
|
||||||
self.facts['distribution_release'] = release.group(1)
|
self.facts['distribution_release'] = release.group(1)
|
||||||
self.facts['distribution_version'] = self.facts['distribution_version'] + '.' + release.group(1)
|
self.facts['distribution_version'] = self.facts['distribution_version'] + '.' + release.group(1)
|
||||||
|
break
|
||||||
elif name == 'Debian':
|
elif name == 'Debian':
|
||||||
data = get_file_content(path)
|
data = get_file_content(path)
|
||||||
if 'Debian' in data or 'Raspbian' in data:
|
if 'Debian' in data or 'Raspbian' in data:
|
||||||
|
|
Loading…
Reference in a new issue