diff --git a/src/main.rs b/src/main.rs index 3898b81..6e03ce9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,6 +64,10 @@ impl file_rpc::Server for Serv { fn size(&self, fd: u64) -> Option { Some(self.open_files.get(fd as usize)?.2 as u64) } + + fn dup(&self, fd: u64) -> Option { + Some(fd) + } } fn parse_mbr(mut disk: &File) -> Vec {