YUKI Hiroshi
null+****@clear*****
Wed Sep 24 17:18:31 JST 2014
YUKI Hiroshi 2014-09-24 17:18:31 +0900 (Wed, 24 Sep 2014) New Revision: 64af5df957438664542c9b8d58b9ae95d2be12e5 https://github.com/droonga/droonga-engine/commit/64af5df957438664542c9b8d58b9ae95d2be12e5 Message: Fix indent level Modified files: bin/droonga-engine-configure Modified: bin/droonga-engine-configure (+9 -9) =================================================================== --- bin/droonga-engine-configure 2014-09-24 17:16:36 +0900 (79599fc) +++ bin/droonga-engine-configure 2014-09-24 17:18:31 +0900 (0864be0) @@ -95,17 +95,17 @@ service_installation.ensure_using_service_base_directory running = false begin -if service_installation.running?(configuration.pid_file_path) - if !options[:quiet] - puts("The droonga-engine service is now running.") - puts("Before reconfiguration, the service is going to be stopped " + - "and this node will be unjoined from the cluster.") - unless confirmed?("Are you sure you want to continue reconfiguration?") - exit(false) + if service_installation.running?(configuration.pid_file_path) + if !options[:quiet] + puts("The droonga-engine service is now running.") + puts("Before reconfiguration, the service is going to be stopped " + + "and this node will be unjoined from the cluster.") + unless confirmed?("Are you sure you want to continue reconfiguration?") + exit(false) + end end + running = true end - running = true -end rescue Droonga::ServiceInstallation::MissingPidFilePath puts("Couldn't detect running status of the service.") end -------------- next part -------------- HTML����������������������������...Download