diff --git a/src/cli/ziggy.rs b/src/cli/ziggy.rs index 543e3cb..e1c0f8d 100644 --- a/src/cli/ziggy.rs +++ b/src/cli/ziggy.rs @@ -167,14 +167,11 @@ impl ZiggyConfig { .env(AflDebug.to_string(), self.afl_debug()) .stdout(Stdio::piped()); - match ziggy_command { - ZiggyCommand::Run => { - command_builder.args(vec![ - "--inputs", - self.to_owned().instrumented_path().to_str().unwrap(), - ]); - } - _ => {} + if ziggy_command == ZiggyCommand::Run { + command_builder.args(vec![ + "--inputs", + self.to_owned().fuzz_output().to_str().unwrap(), + ]); } self.with_allowlist(command_builder)