]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Another one
authormmj <none@none>
Mon, 2 May 2005 17:41:01 +0000 (03:41 +1000)
committermmj <none@none>
Mon, 2 May 2005 17:41:01 +0000 (03:41 +1000)
src/mlmmj-process.c

index 0c2d8af394cd843dadd36e90e6681b67d77abc05..ca9ff902317ecf185261a829c28c9ffdce84fda5 100644 (file)
@@ -419,6 +419,7 @@ int main(int argc, char **argv)
        log_error(LOG_ARGS, "donemailname = [%s]\n", donemailname);
 #endif
        if((rawmailfd = open(mailfile, O_RDONLY)) < 0) {
+               unlink(donemailname);
                myfree(donemailname);
                log_error(LOG_ARGS, "could not open() input mail file");
                exit(EXIT_FAILURE);