Re: Privoxy exit codes

Fabian Keil <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Ian Silvester <[email protected]> wrote:

> Just curious - is there a complete list somewhere of all possible
> privoxy exit codes and their meanings? I see from a brief review of the
> source that 1 is a fatal error, but I've also seen 15 when shutting
> privoxy down so I imagine there are others?

I'm not aware of such a list and it would be OS-dependent anyway.

For example Privoxy returns with 15 if you shut it down by sending
SIGTERM and the OS uses signal 15 for SIGTERM. If a different signal
number is used for SIGTERM, the return code will be different, too.

Depending on the operating system Privoxy will also be terminated
after receiving a couple of other signal it doesn't explicitly
handle, for example SIGXCPU leads to return code 152 on my system.

In general the exit codes seem to be a bit of a mess to me,
and the fact that they aren't properly documented doesn't help.

Fabian

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Ijbswa-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk9SKsAACgkQSMVSH78upWP4owCeITKKvrY39oZKyr8ADys6DqYU
dq0An1xPY5oRTxIyiFpMixW2VCvBW3jL
=Nvlc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.