YUKI Hiroshi
null+****@clear*****
Tue Jul 22 18:50:58 JST 2014
YUKI Hiroshi 2014-07-22 18:50:58 +0900 (Tue, 22 Jul 2014) New Revision: 8fcebf3c7b2e948d03a20f00b047480e3abdf585 https://github.com/droonga/droonga-engine/commit/8fcebf3c7b2e948d03a20f00b047480e3abdf585 Message: Assign separate variable for pid Modified files: lib/droonga/command/serf_event_handler.rb Modified: lib/droonga/command/serf_event_handler.rb (+2 -1) =================================================================== --- lib/droonga/command/serf_event_handler.rb 2014-07-22 18:50:28 +0900 (712e336) +++ lib/droonga/command/serf_event_handler.rb 2014-07-22 18:50:58 +0900 (b55f90f) @@ -208,8 +208,9 @@ module Droonga published_dir = Path.published(port) pid_file = published_dir + ".pid" + pid = pid_file.read.to_i - Process.kill("INT", pid_file.read.to_i) + Process.kill("INT", pid) end def set_replicas -------------- next part -------------- HTML����������������������������... 下載