process control
This commit is contained in:
parent
7d149ee17e
commit
a6d501977c
6 changed files with 25 additions and 51 deletions
|
|
@ -141,7 +141,7 @@ fn main() {
|
|||
|
||||
let now = Zoned::now().strftime("%b %e %H:%M:%S");
|
||||
let log_file_path = logs_dir.join(format!("{now}.log"));
|
||||
let log_file = match File::create(&log_file_path) {
|
||||
let _log_file = match File::create(&log_file_path) {
|
||||
Ok(i) => i,
|
||||
Err(e) => {
|
||||
eprintln!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue