summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cryptfs.bin.in2
1 files changed, 1 insertions, 1 deletions
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