mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-06 14:50:14 +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)??;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
|
||||
if setup && restore.is_some() {
|
||||
tproxy_config::tproxy_remove(&restore.unwrap())?;
|
||||
if setup {
|
||||
tproxy_config::tproxy_remove(restore)?;
|
||||
}
|
||||
|
||||
Ok::<(), std::io::Error>(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue