mirror of https://github.com/wayvr-org/wayvr.git
/tmp/wlx.log fix (Fixes #201)
This commit is contained in:
parent
878bc4bf53
commit
7bf4f99e90
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue