Werk #12090: zypper: crash with "IndexError (list index out of range)"

Component Checks & agents
Title zypper: crash with "IndexError (list index out of range)"
Date Mar 29, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p2 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In case the zypper section is empty the check would crash due to an dedicated access to line 1. This change makes the check not access line 1 if not present.

To the list of all Werks