1 parent 35fcc23 commit 1ff6fefCopy full SHA for 1ff6fef
1 file changed
api/exitcodes.func
@@ -35,6 +35,10 @@ explain_exit_code() {
35
local code="$1"
36
case "$code" in
37
# --- Generic / Shell ---
38
+ # Reached through the aborted branch of post_update_to_api: a clean exit that
39
+ # never reported success is someone backing out of a dialog. Every one of
40
+ # those records read "Unknown error".
41
+ 0) echo "Cancelled before completion (no error)" ;;
42
1) echo "General error / Operation not permitted" ;;
43
2) echo "Misuse of shell builtins (e.g. syntax error)" ;;
44
3) echo "General syntax or argument error" ;;
0 commit comments