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

View File

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