[Groonga-commit] droonga/fluent-plugin-droonga at 9356406 [master] Use "false" for failure exit

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Feb 12 12:39:29 JST 2014


Kouhei Sutou	2014-02-12 12:39:29 +0900 (Wed, 12 Feb 2014)

  New Revision: 93564067c72dc01b6888bc55901ef9e161635fe0
  https://github.com/droonga/fluent-plugin-droonga/commit/93564067c72dc01b6888bc55901ef9e161635fe0

  Message:
    Use "false" for failure exit
    
    But is it good manner as a fluentd plugin...

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -1)
===================================================================
--- lib/droonga/engine.rb    2014-02-12 12:37:07 +0900 (6ead034)
+++ lib/droonga/engine.rb    2014-02-12 12:39:29 +0900 (ed997a5)
@@ -25,7 +25,7 @@ module Droonga
       @dispatcher = Dispatcher.new(@options)
     rescue StartupError => error
       $log.error(error.message)
-      exit(1)
+      exit(false)
     end
 
     def start
-------------- next part --------------
HTML����������������������������...
Download 



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