Commit 08ae40d
committed
fix: Ignore extra lines in dnf repoquery parsing
Cause: In some RHEL environments, dnf operations write some extra output
like "This system is not registered with an entitlement server."
Consequence: This breaks the `dnf repoquery` parsing introduced in
commit d64b560 and makes the role fail due to the invalid
value comparison.
Fix: Only consider the last line (which will be the actual version number).1 parent 588cdb0 commit 08ae40d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments