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

Component Site management
Title Fixed "omd create" when fstab has 0 bytes
Date Feb 7, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.5.0p12 1.6.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks