From 183992462393ce3f91f7e916b1bffb118b7837da Mon Sep 17 00:00:00 2001 From: levasseur Date: Wed, 15 Dec 2021 18:21:42 +0100 Subject: [PATCH] errors.md: added table of content, fixed title --- doc/errors.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/doc/errors.md b/doc/errors.md index 30060e1..36f09c9 100644 --- a/doc/errors.md +++ b/doc/errors.md @@ -1,10 +1,33 @@ -# This is **init.sh** error fixing documentation +# **init.sh** error fixing documentation This document do not pretend to be exhaustive but will cover all errors that can be returned by libraries and some basic modules. It will not cover errors generated by external programs or Bash itself. Please refer to corresponding documentation in such situation. +## Table of contents + - [Error #1: Command line syntax error or incompatible options](#error-1-command-line-syntax-error-or-incompatible-options) + - [Error #2: Misuse of Bash built-in](#error-2-misuse-of-bash-built-in) + - [Error #3: Missing library file or function](#error-3-missing-library-file-or-function) + - [Error #4: No root right](#error-4-no-root-right) + - [Error #7: Misuse of script internal function](#error-7-misuse-of-script-internal-function) + - [Error #8: Can't determine OS type or version](#error-8-cant-determine-os-type-or-version) + - [Error #9: Unsatisfied dependency](#error-9-unsatisfied-dependency) + - [Error #10: File missing or empty](#error-10-file-missing-or-empty) + - [Error #11: Bad function call](#error-11-bad-function-call) + - [Error 12: Error copying files](#error-12-error-copying-files) + - [Error #13: Bad target file system](#error-13-bad-target-file-system) + - [Error #14: Impossible to chroot](#error-14-impossible-to-chroot) + - [Error #15: Bad chrooted installation, destination OS needs to be fixed](#error-15-bad-chrooted-installation-destination-os-needs-to-be-fixed) + - [Error #16: Invalid options provided with cron mode activated](#error-16-invalid-options-provided-with-cron-mode-activated) + - [Error #17: Missing or invalid status file, can't resume](#error-17-missing-or-invalid-status-file-cant-resume) + - [Error #50 to #100: Error in module execution](#error-50-to-100-error-in-module-execution) + - [Error #126: Command exists but is not executable](#error-126-command-exists-but-is-not-executable) + - [Error #127: Command not found](#error-127-command-not-found) + - [Error #128: Abortion due to external cause](#error-128-abortion-due-to-external-cause) + - [Error #150 to #200: Error in module checks](#error-150-to-200-error-in-module-checks) + - [Error #255: Exit status out of range](#error-255-exit-status-out-of-range) + ## Error #1: Command line syntax error or incompatible options You've called the **init.sh** script with command line syntax error or options that are not compatible together. Some options exclude each others or trigger