YUKI Hiroshi
null+****@clear*****
Thu Sep 18 19:41:23 JST 2014
YUKI Hiroshi 2014-09-18 19:41:23 +0900 (Thu, 18 Sep 2014) New Revision: 73b0fd3df3e538c23f3e2c426a74d13abe24975c https://github.com/droonga/droonga-http-server/commit/73b0fd3df3e538c23f3e2c426a74d13abe24975c Message: Support no callback cases Modified files: bin/droonga-http-server-configure Modified: bin/droonga-http-server-configure (+4 -2) =================================================================== --- bin/droonga-http-server-configure 2014-09-18 19:41:13 +0900 (94bb0d2) +++ bin/droonga-http-server-configure 2014-09-18 19:41:23 +0900 (7c8bc99) @@ -104,13 +104,15 @@ function startService(callback) { if (installedAsService) { exec('service droonga-http-server start', function(error, stdin, stdout) { - callback(); + if (callback) + callback(); }); } else { console.log("The droonga-http-server service is still stopped."); console.log("You need to start the service again manually."); - callback(); + if (callback) + callback(); } } -------------- next part -------------- HTML����������������������������...다운로드