summaryrefslogtreecommitdiff
path: root/debian/mdadm.config
diff options
context:
space:
mode:
authormartin f. krafft <madduck@debian.org>2009-03-09 16:45:01 +0100
committermartin f. krafft <madduck@debian.org>2009-03-09 16:46:36 +0100
commit98a2dee0543c3d6fceeffb904a0a3959105bc677 (patch)
tree8cd89c9da7c861eb15cb821099ffa3f35c53853b /debian/mdadm.config
parentdb7c9194514f7b8b2d00a8f4333554e8e127a7a6 (diff)
remove trailing whitespace
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")"