summaryrefslogtreecommitdiff
path: root/debian/mkconf
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2007-03-05 11:23:05 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2007-03-05 11:23:05 +0000
commit89c9627f9dce1c3bc3496d7db6100c8733d263ad (patch)
treed7d895aa6d4e3deaac6af8f74f17ebcb4497e7e3 /debian/mkconf
parent257c16f9887e450ee8b7605098baa2c9742f7f76 (diff)
* Patch by Jørn V. Christensen to properly handle multiple email addresses
for the MAILADDR setting (closes: #413330).
Diffstat (limited to 'debian/mkconf')
-rw-r--r--debian/mkconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mkconf b/debian/mkconf
index 751dd0f6..102dd669 100644
--- a/debian/mkconf
+++ b/debian/mkconf
@@ -22,7 +22,7 @@ if [ -n "${MDADM_MAILADDR__:-}" ]; then
MAILADDR="$MDADM_MAILADDR__"
else
# preserve existing MAILADDR
- MAILADDR="$(sed -ne 's,MAILADDR ,,p' $CONFIG 2>/dev/null || echo root)"
+ MAILADDR="$(sed -ne 's/MAILADDR //p' $CONFIG 2>/dev/null || echo root)"
fi
generate=0