summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-04 13:54:27 +0100
committerErich Eckner <git@eckner.net>2020-03-04 13:54:27 +0100
commit62b0139f4b95144239a30a7126f94b586362b599 (patch)
tree70144040319b0c3d1719c6962315727568d4cc4c
parent2c45c39e9bcc6d0e31f063e4422e17fab7bfd443 (diff)
downloadcryptfs-daemon-62b0139f4b95144239a30a7126f94b586362b599.tar.xz
cryptfs: ignore non-existent mdadm.conf
-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