remove a compile warn

This commit is contained in:
rustdesk 2022-12-09 19:43:26 +08:00
parent 0bc0d489d6
commit e1bc6e34b3

View File

@ -78,7 +78,7 @@ pub enum FS {
WriteError {
id: i32,
file_num: i32,
err: String
err: String,
},
WriteOffset {
id: i32,
@ -544,7 +544,7 @@ async fn check_pid(postfix: &str) {
}
}
}
std::fs::remove_file(&Config::ipc_path(postfix));
std::fs::remove_file(&Config::ipc_path(postfix)).ok();
}
#[inline]