diff --git a/src/agent/src/workload/service.rs b/src/agent/src/workload/service.rs index 3de5455..3d3a809 100644 --- a/src/agent/src/workload/service.rs +++ b/src/agent/src/workload/service.rs @@ -1,4 +1,4 @@ -use std::{process::exit, sync::Arc}; +use std::{process, sync::Arc}; use crate::agent::{self, ExecuteRequest, ExecuteResponse, SignalRequest}; @@ -62,6 +62,6 @@ impl WorkloadRunner for WorkloadRunnerService { } async fn signal(&self, _: Request) -> Result<()> { - unreachable!(); + process::exit(0) } }