Werk #13677: mk_apt: Check crashes on single-line agent sections
|Component||Checks & agents|
|Title||mk_apt: Check crashes on single-line agent sections|
|Date||Mar 31, 2022|
|Checkmk Editon||Checkmk Raw (CRE)|
|Checkmk Version||2.2.0i1 2.1.0b5 2.0.0p23|
|Compatibility||Compatible - no manual interaction needed|
This fixes a regression that got introduced with Werk #13578.
While the above mentioned Werk fixed an issue with ignored security updates for the "APT normal and security updates" plugin, it made a wrong assumption to the output of the underlying apt-get command, that lead to a crash for outputs that exactly consist of one security update item.