Fix mdstat tabs parsing

pull/275/head
Thomas Frössman 8 years ago
parent d48453a61a
commit 32e3445d72

@ -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
} }

Loading…
Cancel
Save