mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +00:00
vmm: don't ignore errors from SIGWINCH listener
Now that the SIGWINCH listener has fallbacks for older kernels, we don't expect it to routinely fail, so if there's an error setting it up, we want to know about it. Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
c1f555cde3
commit
e9841db486
@ -1877,14 +1877,8 @@ impl DeviceManager {
|
|||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
match start_sigwinch_listener(seccomp_filter, pty_sub) {
|
self.console_resize_pipe =
|
||||||
Ok(pipe) => {
|
Some(Arc::new(start_sigwinch_listener(seccomp_filter, pty_sub)?));
|
||||||
self.console_resize_pipe = Some(Arc::new(pipe));
|
|
||||||
}
|
|
||||||
Err(e) => {
|
|
||||||
warn!("Ignoring error from setting up SIGWINCH listener: {}", e)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user