Changeset [0ea95a0ddae14d65bc59097ebd92e80e9a647cce] by Tony Kemp
Revision 0ea95a0ddae14d65bc59097ebd92e80e9a647cce,
committed by Tony Kemp
· June 10th, 2010 @ 02:50 AM
Catch Errno::EPERM in Process.running?
On some systems (e.g. OpenBSD) you receive an EPERM exception
if
you try to Process.getpgid on a process you do not own (even if
you
are root). But it does mean that the process exists, so return
true.
http://github.com/macournoyer/thin/commit/0ea95a0ddae14d65bc59097eb...
1 changed file
-
M
lib/thin/daemonizing.rb