Merge branch 'rs/mailsplit'

* rs/mailsplit:
  mailsplit: remove unnecessary unlink(2) call
This commit is contained in:
Junio C Hamano 2014-10-14 10:50:00 -07:00
commit 63434da0b4

View File

@ -59,7 +59,6 @@ static int split_one(FILE *mbox, const char *name, int allow_bare)
int is_bare = !is_from_line(buf.buf, buf.len);
if (is_bare && !allow_bare) {
unlink(name);
fprintf(stderr, "corrupt mailbox\n");
exit(1);
}