MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / exit_if_nonzero

Function exit_if_nonzero

src/hook_cmd.rs:82–86  ·  view source on GitHub ↗
(code: i32)

Source from the content-addressed store, hash-verified

80}
81
82fn exit_if_nonzero(code: i32) {
83 if code != 0 {
84 std::process::exit(code);
85 }
86}

Callers 1

handle_hook_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected