Don't error out if the workdir does not exist

This commit is contained in:
David Venhoff 2025-08-14 12:49:45 +02:00
parent a0ba2dbb02
commit 06534f8c57

View File

@ -10,7 +10,7 @@ const WORKDIR_PATH: &str = "/tmp/wdir";
const SHAREDIR_PATH: &str = env!("NYX_SHAREDIR");
fn main() -> Result<(), Box<dyn Error>> {
std::fs::remove_dir_all(WORKDIR_PATH)?;
let _ = std::fs::remove_dir_all(WORKDIR_PATH);
run_client()?;
let dump_path = format!("{WORKDIR_PATH}/pt_trace_dump_0");