2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-11 18:42:29 +00:00

Correct mistake in the previous commit

This commit is contained in:
Jarrod Johnson
2025-06-17 10:27:40 -04:00
parent cb1f06fecf
commit bb7e0d1d1e

View File

@@ -1128,7 +1128,7 @@ def fingerprint_host_el(args, hostpath='/'):
ts = rpm.TransactionSet(hostpath)
rpms = ts.dbMatch('provides', 'system-release')
for inf in rpms:
if 'el8' not in inf.release and 'el7' not in inf.release and 'el9' not in inf.release 'el10' not in inf.release:
if 'el8' not in inf.release and 'el7' not in inf.release and 'el9' not in inf.release and 'el10' not in inf.release:
continue
osname = inf.name
version = inf.version