Skip to content

Commit

Permalink
Fix exit code 2
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyeh committed Jan 10, 2024
1 parent c523da5 commit 4a0823a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/get-started/start-teku.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ Example 2: If the migrate database command does not successfully migrate the dat

**Exit Code 2**

This code indicates a scenario where Teku has exited with a fatal error, but will not be corrected by itself if Teku is restarted.
This code indicates a scenario where Teku has exited with a fatal error. Restarting Teku will not correct this.

It is important to note that most user configuration errors fall into this category.
Note that most user configuration errors fall into this category.

Example: Within the migrate database command, if an invalid database version has been specified, Teku will exit with a fatal error code of 2. This error will not correct itself after a restart unless changes have been made to the set up.
Example: If you specify an invalid database version in the migrate database command, Teku will exit with a code 2 fatal error. To correct this, make the appropriate changes to the setup and then restart Teku.

**Usages**

Expand Down

0 comments on commit 4a0823a

Please sign in to comment.