Skip to content

Commit

Permalink
fixup! Add IPC transport implementation for Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeRosa committed Dec 15, 2020
1 parent 6a28cad commit e3d3469
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/transports/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,12 @@ async fn run_server(unix_stream: UnixStream, messages_rx: mpsc::UnboundedReceive
},
Some(Err(err)) => {
log::error!("IPC read error: {:?}", err);
break;
return Err(err.into());
},
None => break,
None => return Ok(()),
}
};
}

Ok(())
}

fn respond(
Expand Down

0 comments on commit e3d3469

Please sign in to comment.