Werk #13677: mk_apt: Check crashes on single-line agent sections

Komponente Checks & agents
Titel mk_apt: Check crashes on single-line agent sections
Datum 31.03.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p23 2.1.0b5 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks