mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 12:48:32 +08:00
fix: a little
This commit is contained in:
1 parent
d085da4dbf
commit
58f5c44533
1 file changed
+1
-1
@@ -270,7 +270,7 @@ impl CoreManager {
|
|||||||
log::debug!(target: "app", "try to unset system dns");
|
log::debug!(target: "app", "try to unset system dns");
|
||||||
if enable_tun {
|
if enable_tun {
|
||||||
let script = include_str!("./script/unset_dns.sh");
|
let script = include_str!("./script/unset_dns.sh");
|
||||||
match (|| async { Command::new("bash").args([script]).output() })().await {
|
match (|| Command::new("bash").args([script]).output())() {
|
||||||
Ok(_) => return Ok(()),
|
Ok(_) => return Ok(()),
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
log::error!(target: "app", "{err}");
|
log::error!(target: "app", "{err}");
|
||||||
|
|||||||
Reference in new issue
Block a user