Changes of Revision 3
[-] [+] | Changed | check_md_raid |
@@ -110,7 +110,7 @@ if "State :" in line: state = line.split(":")[-1][1:-1] re_clean = re.compile('^clean(, no-errors)?$') - if not re_clean.match(state) and state != "active": + if not re_clean.match(state) and state != "active" and state != "active ": arrays_not_ok += 1 raidlevel = detailed_output[3].split()[-1] shortname = array.split("/")[-1].upper() |