Don't error out if the workdir does not exist
This commit is contained in:
parent
a0ba2dbb02
commit
06534f8c57
@ -10,7 +10,7 @@ const WORKDIR_PATH: &str = "/tmp/wdir";
|
|||||||
const SHAREDIR_PATH: &str = env!("NYX_SHAREDIR");
|
const SHAREDIR_PATH: &str = env!("NYX_SHAREDIR");
|
||||||
|
|
||||||
fn main() -> Result<(), Box<dyn Error>> {
|
fn main() -> Result<(), Box<dyn Error>> {
|
||||||
std::fs::remove_dir_all(WORKDIR_PATH)?;
|
let _ = std::fs::remove_dir_all(WORKDIR_PATH);
|
||||||
run_client()?;
|
run_client()?;
|
||||||
|
|
||||||
let dump_path = format!("{WORKDIR_PATH}/pt_trace_dump_0");
|
let dump_path = format!("{WORKDIR_PATH}/pt_trace_dump_0");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user