wohali closed pull request #29: Fix init script exit code #28
URL: https://github.com/apache/couchdb-pkg/pull/29
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/debian/couchdb.init b/debian/couchdb.init
index 2091dc2..34aa47f 100644
--- a/debian/couchdb.init
+++ b/debian/couchdb.init
@@ -157,4 +157,4 @@ case "$1" in
         exit 3
     ;;
 esac
-exit 0
+exit $?
diff --git a/rpm/SOURCES/couchdb.init b/rpm/SOURCES/couchdb.init
index 5f44dc9..66c30e4 100644
--- a/rpm/SOURCES/couchdb.init
+++ b/rpm/SOURCES/couchdb.init
@@ -128,4 +128,4 @@ case "$1" in
         exit 3
     ;;
 esac
-exit 0
+exit $?


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to