[Groonga-commit] groonga/gcs [master] Return status code 0 if succeeded

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 15 16:28:38 JST 2012


YUKI Hiroshi	2012-10-15 16:28:38 +0900 (Mon, 15 Oct 2012)

  New Revision: 2b3fc031c704fbbbd45b1c856cdf1f3b18d857d4
  https://github.com/groonga/gcs/commit/2b3fc031c704fbbbd45b1c856cdf1f3b18d857d4

  Log:
    Return status code 0 if succeeded

  Modified files:
    bin/gcs-describe-domain

  Modified: bin/gcs-describe-domain (+2 -0)
===================================================================
--- bin/gcs-describe-domain    2012-10-15 16:15:36 +0900 (c8ebaf4)
+++ bin/gcs-describe-domain    2012-10-15 16:28:38 +0900 (e2be20b)
@@ -55,6 +55,7 @@ if (domainName) {
   commandLine.getDomainStatus(domainName, function(error, domain) {
     commandLine.getIndexFieldStatuses(domainName, function(error, indexFields) {
       reportStatus(domain, indexFields);
+      process.exit(0);
     });
   });
 } else {
@@ -71,6 +72,7 @@ if (domainName) {
             if (index) console.log('');
             var statuses = indexFieldStatuses[domain.DomainName];
             reportStatus(domain, statuses);
+            process.exit(0);
           });
         }
       });
-------------- next part --------------
HTML����������������������������...
Download 



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