Skip to content
Snippets Groups Projects
Unverified Commit acff6d04 authored by GyDi's avatar GyDi
Browse files

fix: init system proxy correctly

parent eea9cb7c
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ impl Sysopt {
/// update the system proxy
pub fn update_sysproxy(&mut self) -> Result<()> {
if self.cur_sysproxy.is_none() {
if self.cur_sysproxy.is_none() || self.old_sysproxy.is_none() {
return self.init_sysproxy();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment