mirror of
https://github.com/creating2morrow/neveko.git
synced 2025-01-03 09:29:39 +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()
|
||||
.expect("check i2p connection failed");
|
||||
let str_status = String::from_utf8(output.stdout).unwrap();
|
||||
debug!("http proxy is {}", &str_status);
|
||||
if str_status == ProxyStatus::Open.value() {
|
||||
debug!("http proxy is open");
|
||||
ProxyStatus::Open
|
||||
} else {
|
||||
debug!("http proxy is open");
|
||||
ProxyStatus::Opening
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue