From 3802383ffbe627a48a34a50646f3f6788b89e6dd Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 28 Sep 2022 10:02:26 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Erunchecks.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runchecks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runchecks.yml b/runchecks.yml index 8fd004e..f9e23b6 100644 --- a/runchecks.yml +++ b/runchecks.yml @@ -131,7 +131,7 @@ mdadm -D --scan | egrep "^ARRAY" | cut -d" " -f2 | while read array do mdadm -D $array >$g_tmp/raiddetails - if ! cat $g_tmp/raiddetails | egrep "^ +State : " | egrep -q "^ +State : clean$" + if ! cat $g_tmp/raiddetails | egrep "^ +State : " | egrep -q "^ +State : clean $" then g_echo_error "RAID $array state not clean - mdadm -D $array: $(cat $g_tmp/raiddetails)" fi