You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2016/06/28 07:43:48 UTC

karaf git commit: [KARAF-4598] karaf-service should return 0 on start when service is already running

Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x 6ad66a23e -> 303917453


[KARAF-4598] karaf-service should return 0 on start when service is already running


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/30391745
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/30391745
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/30391745

Branch: refs/heads/karaf-4.0.x
Commit: 303917453350ff5460a00b0e44ebd6a9538f48df
Parents: 6ad66a2
Author: dhx <gi...@dhx.at>
Authored: Mon Jun 27 14:07:11 2016 +0200
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Tue Jun 28 09:43:43 2016 +0200

----------------------------------------------------------------------
 .../resources/org/apache/karaf/wrapper/internal/unix/karaf-service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/30391745/wrapper/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service
----------------------------------------------------------------------
diff --git a/wrapper/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service b/wrapper/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service
index 9d92f0e..451dc0c 100644
--- a/wrapper/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service
+++ b/wrapper/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service
@@ -422,7 +422,7 @@ start() {
         exec $COMMAND_LINE
     else
         echo "$APP_LONG_NAME is already running."
-        exit 1
+        exit 0
     fi
 }