summaryrefslogtreecommitdiff
path: root/src/bin/obnam-benchmark.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/obnam-benchmark.rs')
-rw-r--r--src/bin/obnam-benchmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/obnam-benchmark.rs b/src/bin/obnam-benchmark.rs
index 418a46e..0ad8491 100644
--- a/src/bin/obnam-benchmark.rs
+++ b/src/bin/obnam-benchmark.rs
@@ -53,7 +53,7 @@ struct Run {
impl Run {
fn run(&self) -> anyhow::Result<()> {
let spec = Specification::from_file(&self.spec)?;
- let mut state = State::new();
+ let mut state = State::new()?;
let mut result = Result::default();
for step in spec.steps() {
if let Some(m) = state.execute(&step)? {