session: Do not log pam_conv after start
This error caused annoying issues when the main process did not have a terminal attached.
This commit is contained in:
@@ -222,8 +222,8 @@ impl Session {
|
|||||||
SessionChildToParent::FinalChildPid(raw_pid) => {
|
SessionChildToParent::FinalChildPid(raw_pid) => {
|
||||||
break Pid::from_raw(raw_pid as i32)
|
break Pid::from_raw(raw_pid as i32)
|
||||||
}
|
}
|
||||||
SessionChildToParent::PamMessage { style, msg } => {
|
SessionChildToParent::PamMessage { .. } => {
|
||||||
eprintln!("pam_conv after start: {:?}, {}", style, msg);
|
// pam_conv after start, ignore
|
||||||
ParentToSessionChild::PamResponse { resp: None }
|
ParentToSessionChild::PamResponse { resp: None }
|
||||||
.send(&mut self.sock)
|
.send(&mut self.sock)
|
||||||
.await?;
|
.await?;
|
||||||
|
Reference in New Issue
Block a user