diff --git a/fud2/fud-core/src/run.rs b/fud2/fud-core/src/run.rs index 50a1a8b62..0bf6154fa 100644 --- a/fud2/fud-core/src/run.rs +++ b/fud2/fud-core/src/run.rs @@ -384,6 +384,8 @@ impl<'a> Run<'a> { }) { let stdout_files = std::fs::File::open(self.plan.workdir.join(filename)) + // The output file we're emitting to stdout should exist. If it doesn't, + // some op didn't produce the output file it claimed to. .map_err(|e| if let std::io::ErrorKind::NotFound = e.kind() { std::io::Error::new( e.kind(),