diff options
Diffstat (limited to 'os/log.c')
-rw-r--r-- | os/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -203,6 +203,8 @@ LogInit(const char *fname, const char *backup) } free(oldLog); } + } else { + unlink(logFileName); } if ((logFile = fopen(logFileName, "w")) == NULL) FatalError("Cannot open log file \"%s\"\n", logFileName); |