You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2012/07/23 18:46:38 UTC

[2/3] git commit: Fix startup script return code. Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4271

Fix startup script return code.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4271


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

Branch: refs/heads/trunk
Commit: 29379a525420147203777a403f7675232f927a53
Parents: ff64c5d
Author: Brandon Williams <br...@apache.org>
Authored: Mon Jul 23 11:44:52 2012 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Mon Jul 23 11:44:52 2012 -0500

----------------------------------------------------------------------
 bin/cassandra |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/29379a52/bin/cassandra
----------------------------------------------------------------------
diff --git a/bin/cassandra b/bin/cassandra
index 638e41c..f20fc76 100755
--- a/bin/cassandra
+++ b/bin/cassandra
@@ -139,6 +139,7 @@ launch_service()
     else
         exec $NUMACTL "$JAVA" $JVM_OPTS $cassandra_parms -cp "$CLASSPATH" $props "$class" <&- &
         [ ! -z "$pidpath" ] && printf "%d" $! > "$pidpath"
+        true
     fi
 
     return $?