1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

apply #13113 (Nobody)

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@639 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
evanweaver 2007-10-11 07:15:25 +00:00
parent c2a4440653
commit e577ab7e62

View file

@ -80,7 +80,9 @@ module Cluster
if @clean && pid_file_exists?(port) && !check_process(port)
pid_file = port_pid_file(port)
log "missing process: removing #{pid_file}"
File.unlink(pid_file)
chdir_cwd do
File.unlink(pid_file)
end
end
if pid_file_exists?(port) && check_process(port)