incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bm...@apache.org
Subject svn commit: r1308643 - /incubator/bigtop/trunk/bigtop-packages/src/common/flume/flume-node.init
Date Tue, 03 Apr 2012 01:04:44 GMT
Author: bmahe
Date: Tue Apr  3 01:04:43 2012
New Revision: 1308643

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

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/flume/flume-node.init

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/flume/flume-node.init
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/flume/flume-node.init?rev=1308643&r1=1308642&r2=1308643&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/flume/flume-node.init (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/flume/flume-node.init Tue Apr  3 01:04:43
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