Style change
This commit is contained in:
@@ -216,9 +216,7 @@ impl Session {
|
|||||||
msg.send(&mut self.sock).await?;
|
msg.send(&mut self.sock).await?;
|
||||||
|
|
||||||
let sub_task = loop {
|
let sub_task = loop {
|
||||||
let msg = SessionChildToParent::recv(&mut self.sock).await?;
|
match SessionChildToParent::recv(&mut self.sock).await? {
|
||||||
|
|
||||||
match msg {
|
|
||||||
SessionChildToParent::Error(e) => return Err(e),
|
SessionChildToParent::Error(e) => return Err(e),
|
||||||
SessionChildToParent::FinalChildPid(raw_pid) => break Pid::from_raw(raw_pid as i32),
|
SessionChildToParent::FinalChildPid(raw_pid) => break Pid::from_raw(raw_pid as i32),
|
||||||
SessionChildToParent::PamMessage { style, msg } => {
|
SessionChildToParent::PamMessage { style, msg } => {
|
||||||
|
Reference in New Issue
Block a user