summaryrefslogtreecommitdiff
path: root/maildir-import-patch
diff options
context:
space:
mode:
Diffstat (limited to 'maildir-import-patch')
-rwxr-xr-xmaildir-import-patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/maildir-import-patch b/maildir-import-patch
index 91b5143..605435b 100755
--- a/maildir-import-patch
+++ b/maildir-import-patch
@@ -69,8 +69,8 @@ unless ($pid) {
or die "couldn't reopen child's STDOUT: $!";
exec qw(git format-patch --no-cc --no-to --stdout --thread=shallow), @ARGV;
}
-wait;
$mbox_file->close;
+wait;
my $mbox = $mgr->open($mbox_file->filename, type => "mbox", access => "r");
$mgr->copyMessage($maildir, $_) for $mbox->messages;