Fix startup script return code.

Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4271
This commit is contained in:
Brandon Williams 2012-07-23 11:44:52 -05:00
parent ff64c5d11e
commit 29379a5254
1 changed files with 1 additions and 0 deletions

View File

@ -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 $?