Skip to content

Commit

Permalink
Get appending working.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 28, 2004
1 parent bee338b commit 90cdcf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mojopatch.c
Expand Up @@ -1696,7 +1696,8 @@ static int create_patchfile(void)
return(PATCHERROR);
} /* if */

unlink(patchfile); /* just in case. */
if (!appending)
unlink(patchfile); /* just in case. */

if (!open_serialized_archive(&ar, patchfile, 0, NULL, NULL))
{
Expand Down

0 comments on commit 90cdcf1

Please sign in to comment.