Exit 129 SIGHUP (128 + 1)
Killed by SIGHUP: the controlling terminal went away.
- Value
- 129
- Convention
- Killed by a signal (128 + N)
- Signal
- SIGHUP (Linux 1, FreeBSD 1)
The classic result of closing an ssh session while a job runs in it. Run long jobs under nohup, setsid, tmux or a supervisor so they do not depend on the terminal.
What to check
nohup ./job >job.log 2>&1 &Sources
Exit codes are conventions, not guarantees: a program can return any value from 0 to 255. Spot one that's wrong? Tell Rod.