summaryrefslogtreecommitdiff
path: root/debian/mdadm.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r--debian/mdadm.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config
index 45b9f221..39fffe2b 100644
--- a/debian/mdadm.config
+++ b/debian/mdadm.config
@@ -16,7 +16,7 @@ set -eu
CONFIG=/etc/mdadm/mdadm.conf
ALTCONFIG=/etc/mdadm.conf
-[ ! -f $CONFIG ] && [ -f $ALTCONFIG ] && CONFIG=$ALTCONFIG
+[ ! -f $CONFIG ] && [ -f $ALTCONFIG ] && CONFIG=$ALTCONFIG
DEBIANCONFIG=/etc/default/mdadm
DEBIANCONFIG_OLD=/etc/mdadm/debian.conf
@@ -138,7 +138,7 @@ while true; do
if ! mdadm --detail "$i" >/dev/null 2>&1; then
error=1; msg=errmd; suffix=": $i"; break
fi
-
+
if [ -f $CONFIG ]; then
if ! egrep -q "^(ARRAY)?[[:space:]]+$i([[:space:]]+|$)" $CONFIG; then
t="$(readlink -nf "$i")"