diff --git a/ts/ts.c b/ts/ts.c index f7b55ed..1e22576 100644 --- a/ts/ts.c +++ b/ts/ts.c @@ -55,7 +55,7 @@ int main(int argc, char **argv) { exit(1); } } - if ((fp = fopen(file, "w")) == NULL) { + if ((fp = fopen(file, "a")) == NULL) { fprintf(stderr, "%s: cannot open %s: %s\n", argv[0], file, strerror(errno)); exit(1); }