Request - an additional exit code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Regards,
Patrick





[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux