Merge pull request #202 from olekolek1000/main

/tmp/wlx.log fix (Fixes #201)
This commit is contained in:
Aleksander 2025-04-25 22:42:41 +02:00 committed by GitHub
commit 9fb1d63477
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ fn logging_init(args: &mut Args) {
.unwrap_or_else(|| String::from("/tmp/wlx.log"));
let file_writer = match std::fs::OpenOptions::new()
.create(true)
.write(true)
.truncate(true)
.open(&log_file_path)