summaryrefslogtreecommitdiff
path: root/debian/mdadm.config
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-22 20:14:34 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-22 20:14:34 +0000
commit30dcdc972f0b8e5f34bb59669e5b479449eeee2f (patch)
tree426365177c05090ae8ddd191d937395dd8ce25be /debian/mdadm.config
parentfb1ac5f5a1e9c8a4919c58d26f2d15b528c0700f (diff)
addressing #384222
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 f1ed1fdc..92485b49 100644
--- a/debian/mdadm.config
+++ b/debian/mdadm.config
@@ -111,10 +111,10 @@ while true; do
fi
if [ -f $CONFIG ]; then
- if ! egrep -q "^ARRAY[[:space:]]+$i[[:space:]]+" $CONFIG; then
+ if ! egrep -q "^ARRAY[[:space:]]+$i([[:space:]]+|$)" $CONFIG; then
t="$(readlink -nf "$i")"
if [ -L "$i" ] \
- && egrep -q "^ARRAY[[:space:]]+$t[[:space:]]+" $CONFIG; then
+ && egrep -q "^ARRAY[[:space:]]+$t([[:space:]]|$)+" $CONFIG; then
i="$t"
else
db_subst mdadm/initrdstart_notinconf array "$i"