From de41ea126577a904502e82570a92ada41af22c44 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 30 Sep 2013 16:13:31 +0200 Subject: [PATCH] 00-fsdev.sh: do not bad_msg if mdadm --scan returns != 0 Historically, users have mdadm support enabled even in conditions where md devices are not (yet?) available. --- defaults/initrd.d/00-fsdev.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/initrd.d/00-fsdev.sh b/defaults/initrd.d/00-fsdev.sh index 08bab63..dca73c1 100755 --- a/defaults/initrd.d/00-fsdev.sh +++ b/defaults/initrd.d/00-fsdev.sh @@ -180,8 +180,9 @@ start_volumes() { if [ "${USE_MDADM}" = "1" ]; then good_msg "Activating md raid devices" - mdadm --assemble --scan || \ - bad_msg "mdadm failed to run, skipping raid assembly!" + mdadm --assemble --scan + # do not bad_msg, user could have this enabled even though + # no RAID is currently available. fi if [ "${USE_MULTIPATH_NORMAL}" = "1" ]; then