diff --git a/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb b/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb index 42366b58..7da87f1a 100644 --- a/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb +++ b/vendor/gems/process_manager-0.0.13/lib/process_manager/master.rb @@ -51,7 +51,7 @@ def self.restart def self.status if pid = find_pid - if ProcessManager::process_running?(pid) + if pid > 0 && ProcessManager::process_running?(pid) pid else clean_stale_pid