File check_md_raid-clean.patch of Package monitoring-plugins-md_raid

--- check_md_raid.orig	2014-01-31 17:55:21.861560513 +0100
+++ check_md_raid	2014-01-31 17:56:07.931247989 +0100
@@ -109,7 +109,7 @@
         for line in detailed_output:
             if "State :" in line:
                 state = line.split(":")[-1][1:-1]
-        re_clean = re.compile('^clean(, no-errors)?$')
+        re_clean = re.compile('^clean(, no-errors)? ?$')
         if not re_clean.match(state) and state != "active" and state != "active ":
             arrays_not_ok += 1
             raidlevel = detailed_output[3].split()[-1]
openSUSE Build Service is sponsored by