[vdr] Request - an additional exit code
patrick at feedface.com
Sun Mar 26 15:59:24 CEST 2006
The current program exit-codes:
0 = Help, signal (e.g. kill -HUP)
1 = Emergency exit
2 = Error during initialization (commandline, config, device...)
At the moment I have a script, which sends a kill signal to leave the
endless loop = end vdr.
The problem is that in runvdr I simply can't decide whether a normal
shutdown through my script happened or some other signal, e.g.
watchdog, kicked in, since all signals return "0".
In my eyes both cases should have different exit-codes.
More information about the vdr