/tmp/wlx.log fix (Fixes #201)

This commit is contained in:
Aleksander
2025-04-25 22:28:44 +02:00
parent 878bc4bf53
commit 7bf4f99e90

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)