Skip to content

Commit

Permalink
Merge branch 'rs/mailsplit'
Browse files Browse the repository at this point in the history
* rs/mailsplit:
  mailsplit: remove unnecessary unlink(2) call
  • Loading branch information
Junio C Hamano committed Oct 14, 2014
2 parents 40e2d8d + db78794 commit 63434da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion builtin/mailsplit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 63434da

Please sign in to comment.