]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
aiaiai: don't cat the $mbox file at begining of email-testpatchset
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 9 Apr 2014 22:26:12 +0000 (15:26 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 26 Apr 2014 00:31:38 +0000 (17:31 -0700)
This patch corrects an inadverdent addition of cat "$mbox" which apears
to come from commit bbf0119cbfc0. Possibly originating as some sort of
debugging code, it has essentially been lost in a rebase most likely.
However, this cat of the mbox contents is quite annoying. Possibly add
this back as a feature, since it sometimes proves useful, but generally
slows down aiaiai due to sometimes printing an exceptional amount of
data to stdout! Also fixes a typo of private.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Fixes: bbf0119cbfc0 ("email-lda: use cover letter subject if available")
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
email/aiaiai-email-test-patchset

index 2c5b7018ce37f423051358abeccff8a2ec73522a..5a1cebfc3d3b2c1871c52c584612aff7b05ae081 100755 (executable)
@@ -239,9 +239,8 @@ if [ -z "$mbox" ]; then
        cat > "$mbox"
 fi
 
-cat "$mbox"
 # Use the cover letter subject and message ID if possible. If the cover letter
-# was present, 'aiaiai-email-lda' would save them in special privat headers.
+# was present, 'aiaiai-email-lda' would save them in special private headers.
 subj="$(fetch_header "X-Aiaiai-Cover-Letter-Subject" < "$mbox")"
 [ -n "$subj" ] || fetch_header_or_die subj "Subject" < "$mbox"