[Groonga-commit] droonga/droonga-engine at e572b5a [master] Trap INT signal correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Jul 18 18:28:08 JST 2014


YUKI Hiroshi	2014-07-18 18:28:08 +0900 (Fri, 18 Jul 2014)

  New Revision: e572b5ab3aa7ab896061f14000435615679f437d
  https://github.com/droonga/droonga-engine/commit/e572b5ab3aa7ab896061f14000435615679f437d

  Message:
    Trap INT signal correctly

  Modified files:
    bin/droonga-engine-data-publisher

  Modified: bin/droonga-engine-data-publisher (+1 -1)
===================================================================
--- bin/droonga-engine-data-publisher    2014-07-18 18:10:54 +0900 (c8c5ab4)
+++ bin/droonga-engine-data-publisher    2014-07-18 18:28:08 +0900 (ae0cf68)
@@ -58,7 +58,7 @@ FileUtils.copy(published_file.to_s, published_dir + published_file.basename)
 server = HTTPServer.new(:Port => options.port,
                         :DocumentRoot => published_dir)
 
-trap("INT", "TERM") do
+trap("INT") do
   server.shutdown
   FileUtils.rm_rf(published_dir.to_s)
 end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index