Merge branch 'rs/mailsplit'
* rs/mailsplit: mailsplit: remove unnecessary unlink(2) call
This commit is contained in:
commit
63434da0b4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user