Skip to content

Commit

Permalink
fix: should set append flag to fopen
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Dec 28, 2023
1 parent 72b80e6 commit 6e9d275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/runner/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ impl Env {
.create(true)
.write(true)
.truncate(truncate_log)
.append(!truncate_log)
.open(log_file_name)
.unwrap();

Expand Down

0 comments on commit 6e9d275

Please sign in to comment.