summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-09-19 19:02:47 +0000
committerFate <fate-tmw@googlemail.com>2009-09-19 19:02:47 +0000
commit162c84a85c288bcb97df44d08e0c0ff271ec102b (patch)
tree3b1ce12a7b3d07705573f56695f077065df34777 /src
parent41075d30353cd42588975cfbc8a21a69911ad4cc (diff)
downloadtmwa-162c84a85c288bcb97df44d08e0c0ff271ec102b.tar.gz
tmwa-162c84a85c288bcb97df44d08e0c0ff271ec102b.tar.bz2
tmwa-162c84a85c288bcb97df44d08e0c0ff271ec102b.tar.xz
tmwa-162c84a85c288bcb97df44d08e0c0ff271ec102b.zip
When zipping server logs, zip with -f to overwrite
Diffstat (limited to 'src')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 31f269d..abb750f 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1668,7 +1668,7 @@ map_close_logfile()
{
if (map_logfile) {
char *filenameop_buf = malloc(strlen(map_logfile_name) + 50);
- sprintf(filenameop_buf, "gzip %s.%ld", map_logfile_name, map_logfile_index);
+ sprintf(filenameop_buf, "gzip -f %s.%ld", map_logfile_name, map_logfile_index);
fclose(map_logfile);