Skip to main content

EXIT_UNAVAILABLE

Constant EXIT_UNAVAILABLE 

Source
pub const EXIT_UNAVAILABLE: i32 = 77;
Expand description

Exit status when a subcommand is unavailable because the running host lacks the feature behind it (see host_feature_gate_rejects). Distinct from a usage error (2) and a runtime failure (1) so that a caller probing for the feature, as TuneD does with bootc loader-entries set-options-for-source --help, can tell “not supported here” from “failed”. 77 is the status test harnesses use for “skipped”.