Skip to content

Commit

Permalink
don't panic on failed touch file remove
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Sep 18, 2024
1 parent 6566b52 commit 6d5f8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ fn main() {

app.run();

std::fs::remove_file(format!("{}.touch", SESSION_LOG.get().unwrap())).unwrap();
let _ = std::fs::remove_file(format!("{}.touch", SESSION_LOG.get().unwrap()));
}

fn setup(
Expand Down

0 comments on commit 6d5f8b9

Please sign in to comment.