aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma4
1 files changed, 3 insertions, 1 deletions
diff --git a/firma b/firma
index e7fbc82..b561809 100755
--- a/firma
+++ b/firma
@@ -419,6 +419,8 @@ function EditListMessageHeaders {
local header
local sed_args
+ MESSAGE_HEADERS="$ORIG_MESSAGE_HEADERS"
+
# remove headers as/if defined by firma configuration file
if [[ -n "$REMOVE_THESE_HEADERS_ON_ALL_LISTS" ]]; then
for header in $REMOVE_THESE_HEADERS_ON_ALL_LISTS; do
@@ -426,7 +428,7 @@ function EditListMessageHeaders {
done
MESSAGE_HEADERS="$(
- echo "$ORIG_MESSAGE_HEADERS" | \
+ echo "$MESSAGE_HEADERS" | \
sed $sed_args
)"
fi