Werk #7082: Fixed "omd create" when fstab has 0 bytes

Komponente Site management
Titel Fixed "omd create" when fstab has 0 bytes
Datum 07.02.2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.5.0p12 1.6.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The "omd create" command failed with a "IndexError: string index out of range" in case a /etc/fstab file existed but was empty. While regular systems most likely have entries in there, this can often happen for containers.

Zur Liste aller Werks