mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-07 15:17:43 +00:00
update deps
This commit is contained in:
parent
a52dccd827
commit
3628533c8b
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ pub async fn desktop_run_async(args: Args, shutdown_token: tokio_util::sync::Can
|
||||||
join_handle.await.map_err(std::io::Error::from)??;
|
join_handle.await.map_err(std::io::Error::from)??;
|
||||||
|
|
||||||
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
|
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
|
||||||
if setup && restore.is_some() {
|
if setup {
|
||||||
tproxy_config::tproxy_remove(&restore.unwrap())?;
|
tproxy_config::tproxy_remove(restore)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok::<(), std::io::Error>(())
|
Ok::<(), std::io::Error>(())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue