From a7e2430bda7004d70f201f16f86251cc5fcedf78 Mon Sep 17 00:00:00 2001 From: madduck Date: Tue, 1 Aug 2006 16:07:59 +0000 Subject: cleaning up regexp --- debian/mdadm.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/mdadm.config') diff --git a/debian/mdadm.config b/debian/mdadm.config index 239ed287..a7e33dab 100644 --- a/debian/mdadm.config +++ b/debian/mdadm.config @@ -51,7 +51,7 @@ db_input high mdadm/warning || true db_go if [ -z "$INITRDSTART" ]; then - ROOTRAIDDEV="$(df / | sed -ne 's,^\(/dev/[^[:space:]]\+\).*,\1,p')" + ROOTRAIDDEV="$(df / | sed -rne 's,^(/dev/[^[:space:]]+).*,\1,p')" if ! mdadm --detail $ROOTRAIDDEV >/dev/null 2>&1; then # you are using some funky setup. Let's be save... INITRDSTART=all -- cgit v1.2.3