From 62b0139f4b95144239a30a7126f94b586362b599 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 4 Mar 2020 13:54:27 +0100 Subject: cryptfs: ignore non-existent mdadm.conf --- cryptfs.bin.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptfs.bin.in b/cryptfs.bin.in index 84d97a0..4e0effd 100644 --- a/cryptfs.bin.in +++ b/cryptfs.bin.in @@ -129,7 +129,7 @@ mdadm_conf=$( sed ' s|^\s*#CONF_PREFIXES#\s*|| /^\s*#/d - ' #ETCDIR#/mdadm.conf | \ + ' #ETCDIR#/mdadm.conf 2>/dev/null | \ sed -n ' /^ARRAY / { N -- cgit v1.2.3-70-g09d2