mirror of
https://github.com/OliveTin/OliveTin
synced 2026-08-25 03:56:33 +00:00
Move the docs.olivetin.app AsciiDoc component into this repository, add local Antora playbooks for contributors and CI, and document the split between this repo and the docs build repository. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
848 B
Plaintext
21 lines
848 B
Plaintext
= Understanding exit codes
|
|
|
|
OliveTin just runs commands. If the command exits with an unusual exit code
|
|
(something other than 0), OliveTin will tell you. Many Linux commands will exit
|
|
with code 1, 2, 3, etc to indicate different types of errors.
|
|
|
|
It's important to understand that OliveTin is just reporting back what the
|
|
command exited with, it's very unusual for OliveTin to cause new types of
|
|
errors!
|
|
|
|
For example, if `ping` exits with code 1 or 2, the documentation for ping says
|
|
that this indicates either a name not found, timeout, or other similar error.
|
|
The best thing you can do is `man ping` to read the ping manual page to find
|
|
out more.
|
|
|
|
== Common error codes
|
|
|
|
* **Exit code 127** is used by the Linux shell to indicate "Command not found". Most often this means you need to install the command (often in the linux container image).
|
|
|
|
|