/tmp/wlx.log fix (Fixes #201)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user