YUKI Hiroshi
null+****@clear*****
Thu Sep 18 13:08:33 JST 2014
YUKI Hiroshi 2014-09-18 13:08:33 +0900 (Thu, 18 Sep 2014) New Revision: bf3d25a1c6cf85fe4016b36010e26704b2305edb https://github.com/droonga/droonga-engine/commit/bf3d25a1c6cf85fe4016b36010e26704b2305edb Message: Handle "no PID file" case Modified files: bin/droonga-engine-status Modified: bin/droonga-engine-status (+4 -0) =================================================================== --- bin/droonga-engine-status 2014-09-18 11:22:44 +0900 (68a2dbc) +++ bin/droonga-engine-status 2014-09-18 13:08:33 +0900 (165b61e) @@ -35,6 +35,10 @@ end begin pid_file = configuration.pid_file_path + if pid_file.nil? + raise Failed.new("Couldn't find the PID file.") + end + unless pid_file.exist? raise Failed.new("There is no PID file at <#{pid_file.to_s}>.") end -------------- next part -------------- HTML����������������������������... Download