mirror of
https://github.com/creating2morrow/neveko.git
synced 2025-01-05 10:29:31 +00:00
remove newline in i2p status debug log
This commit is contained in:
parent
ba0c50c170
commit
ce96131687
1 changed files with 2 additions and 1 deletions
|
@ -189,10 +189,11 @@ pub async fn check_connection() -> ProxyStatus {
|
||||||
.output()
|
.output()
|
||||||
.expect("check i2p connection failed");
|
.expect("check i2p connection failed");
|
||||||
let str_status = String::from_utf8(output.stdout).unwrap();
|
let str_status = String::from_utf8(output.stdout).unwrap();
|
||||||
debug!("http proxy is {}", &str_status);
|
|
||||||
if str_status == ProxyStatus::Open.value() {
|
if str_status == ProxyStatus::Open.value() {
|
||||||
|
debug!("http proxy is open");
|
||||||
ProxyStatus::Open
|
ProxyStatus::Open
|
||||||
} else {
|
} else {
|
||||||
|
debug!("http proxy is open");
|
||||||
ProxyStatus::Opening
|
ProxyStatus::Opening
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue