Skip to main content

stop_is_not_an_error

Function stop_is_not_an_error 

Source
fn stop_is_not_an_error(
    availability: Availability,
    wanted: Wanted,
) -> Availability
Expand description

An agent whose block records a stop (the idle lifecycle, Agents stop, a person’s shut down) is stopped even when its process ended with a non-zero exit code: the stop is a forced kill, which exits that way. error is for a process that ended when nothing asked it to.