[KongchangAI]
Concept退出码

exit code

An integer status code in the range 0-255 returned to the parent process when a Unix/Linux process terminates, where 0 indicates success and non-zero indicates failure; used in CI/CD pipelines as a deterministic objective basis for judging whether a step succeeded.

Timeline (last 90 days)

Oct 11

The script chooses exit code 2 rather than 1 as the failure code because, by shell convention, 2 is commonly used for "usage error or condition not met," making it easy to distinguish a script crash from an active ledger rejection.

Unverified50%
Oct 11

A Unix process returns 0 upon normal termination; any non-zero value indicates some form of error or rejection state.

Unverified50%

All Facts (2)

Source Articles