You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by bm...@apache.org on 2013/04/07 02:03:49 UTC
git commit: BIGTOP-624. running start on a service already running should return success (Lewis Anderson via Bruno Mahé)
Updated Branches:
refs/heads/master 005b5660c -> 9c71a73cc
BIGTOP-624. running start on a service already running should return success (Lewis Anderson via Bruno Mahé)
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/9c71a73c
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/9c71a73c
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/9c71a73c
Branch: refs/heads/master
Commit: 9c71a73cc6b7d5546e7b37dc88e6c8d815820f4a
Parents: 005b566
Author: Bruno Mahé <bm...@apache.org>
Authored: Sat Apr 6 17:03:16 2013 -0700
Committer: Bruno Mahé <bm...@apache.org>
Committed: Sat Apr 6 17:03:46 2013 -0700
----------------------------------------------------------------------
bigtop-packages/src/common/oozie/oozie.init | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/9c71a73c/bigtop-packages/src/common/oozie/oozie.init
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/oozie/oozie.init b/bigtop-packages/src/common/oozie/oozie.init
index 3673ea5..037f0d5 100644
--- a/bigtop-packages/src/common/oozie/oozie.init
+++ b/bigtop-packages/src/common/oozie/oozie.init
@@ -81,8 +81,7 @@ case "$1" in
start)
is_oozie_alive
if [ "${STATUS}" = "0" ]; then
- echo "already running"
- exit 1
+ exit 0
fi
if [ "${STATUS}" = "1" ]; then
rm ${OOZIE_PID}