diff --git a/cmd/core-agent/main.go b/cmd/core-agent/main.go index 8d28125..0eda798 100644 --- a/cmd/core-agent/main.go +++ b/cmd/core-agent/main.go @@ -109,12 +109,6 @@ func main() { registerWorkspaceCommands(c) // registerFlowCommands(c) — on feat/flow-system branch - // Run: ServiceStartup → Cli → ServiceShutdown - r = c.Run() - if !r.OK { - if err, ok := r.Value.(error); ok { - core.Error(err.Error()) - } - os.Exit(1) - } + // Run: ServiceStartup → Cli → ServiceShutdown → os.Exit if error + c.Run() }