diff --git a/rinit/src/main.rs b/rinit/src/main.rs index 45d0694..095043a 100644 --- a/rinit/src/main.rs +++ b/rinit/src/main.rs @@ -165,7 +165,7 @@ fn set_nonblocking(fd: std::os::fd::RawFd) -> std::io::Result<()> { fcntl(fd, FcntlArg::F_SETFL(new_flags))?; Ok(()) } -async fn read_request( +async fn read_and_handle_request( async_cmds_fd: Arc>>, async_sig_fd: Arc>>, processes: Arc>>, @@ -223,7 +223,7 @@ async fn main_loop( processes: Arc>>, ) -> std::io::Result<()> { loop { - let result = read_request( + let result = read_and_handle_request( async_cmds_fd.clone(), async_sig_fd.clone(), processes.clone(),