incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bm...@apache.org
Subject svn commit: r1308642 - /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/flume/flume-node.init
Date Tue, 03 Apr 2012 01:03:54 GMT
Author: bmahe
Date: Tue Apr  3 01:03:54 2012
New Revision: 1308642

URL: http://svn.apache.org/viewvc?rev=1308642&view=rev
Log:
BIGTOP-505. Flume should exit 0 when trying to stop a non-running service

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/flume/flume-node.init

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/flume/flume-node.init
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/flume/flume-node.init?rev=1308642&r1=1308641&r2=1308642&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/flume/flume-node.init
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/flume/flume-node.init
Tue Apr  3 01:03:54 2012
@@ -77,7 +77,7 @@ start() {
 stop() {
   if [ ! -e $FLUME_PID_FILE ]; then
     log_failure_msg "Flume node is not running"
-    exit $STATUS_NOT_RUNNING
+    exit 0
   fi
 
   log_success_msg "Stopping $desc (flume-node): "



Mime
View raw message