diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index 7938fce5f..db1a324fa 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -161,16 +161,7 @@ fn main() -> Result<(), anyhow::Error> { .or(sub_matches.get_one::("inspect-wait")), ); - let maybe_inspector_option = if inspector.is_some() - && !maybe_supervisor_policy - .as_ref() - .map(SupervisorPolicy::is_oneshot) - .unwrap_or(false) - { - bail!( - "specifying `oneshot` policy is required to enable the inspector feature" - ); - } else if let Some((key, addr)) = inspector { + let maybe_inspector_option = if let Some((key, addr)) = inspector { Some(get_inspector_option(key.as_str(), addr).unwrap()) } else { None