attempt to fix suspend issue

This commit is contained in:
Christien Rioux 2023-07-21 09:44:14 -04:00
parent 3224a315c3
commit 674a4d26f3

View File

@ -344,9 +344,9 @@ impl NetworkInterfaces {
let mut last_interfaces = { let mut last_interfaces = {
let mut last_interfaces = BTreeMap::<String, NetworkInterface>::new(); let mut last_interfaces = BTreeMap::<String, NetworkInterface>::new();
let mut platform_support = PlatformSupport::new()?; let mut platform_support = PlatformSupport::new()?;
platform_support if let Err(e) = platform_support.get_interfaces(&mut last_interfaces).await {
.get_interfaces(&mut last_interfaces) debug!("no network interfaces are enabled: {}", e);
.await?; }
last_interfaces last_interfaces
}; };