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:
parent
c2a4440653
commit
e577ab7e62
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue