Merge pull request #275 from thomasf/mdstat-tabs

Fix mdstat tabs parsing
This commit is contained in:
Julius Volz 2016-08-06 14:22:31 +02:00 committed by GitHub
commit b55019f10b
2 changed files with 4 additions and 4 deletions

View File

@ -142,7 +142,7 @@ func parseMdstat(mdStatusFilePath string) ([]mdStatus, error) {
continue continue
} }
if l[0] == ' ' { if l[0] == ' ' || l[0] == '\t' {
// Those lines are not the beginning of a md-section. // Those lines are not the beginning of a md-section.
continue continue
} }