Exit 125
timeout(1) itself failed, before running the command.
- Value
- 125
- Convention
- Shell and tool convention
Not the command's failure: timeout could not do its own job, for example because it was given a bad option. That separates "your job died" from "the wrapper never started it" when you read a cron log.
What to check
timeout --bogus 5 true; echo $?Rod on this
Sources
Exit codes are conventions, not guarantees: a program can return any value from 0 to 255. Spot one that's wrong? Tell Rod.