Verified Commit f5bcff90 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix unmount logic

parent b0bb843a
Pipeline #5325 failed with stages
in 1 minute and 47 seconds
......@@ -46,7 +46,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut chan_opt = Some(chan);
let mut shm_opt = Some(shm);
while chan_opt.is_some() && shm_opt.is_some() {
while chan_opt.is_some() || shm_opt.is_some() {
let mut event = Event::default();
event_file.read(&mut event)?;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment