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 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
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.