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/cassandra-1.1 Commit: 29379a525420147203777a403f7675232f927a53 Parents: ff64c5d Author: Brandon Williams <brandonwilli...@apache.org> Authored: Mon Jul 23 11:44:52 2012 -0500 Committer: Brandon Williams <brandonwilli...@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 $?