Skip to main content

exit_note

Function exit_note 

Source
pub fn exit_note(command: &str, exit_code: Option<i32>) -> Option<&'static str>
Expand description

The note for exit_code of command: exit code 1 of a simple pipeline (commands joined by | or |&, nothing else) whose last command is one of NON_ERROR_EXIT_1. Anything else (;, &&, ||, &, a newline, a subshell or command substitution, a ! negation) may have taken its status from another command: no note.