diff options
-rwxr-xr-x | maildir-import-patch | 2 |
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; |