Use portable stderr for java error in startup

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

Branch: refs/heads/trunk
Commit: cb090791c3d16011665f0f56afd66bbce2a0e40f
Parents: a6237bf
Author: Michael Shuler <mich...@pbandjelly.org>
Authored: Mon Feb 13 12:46:02 2017 -0600
Committer: Michael Shuler <mich...@pbandjelly.org>
Committed: Wed Feb 15 17:49:39 2017 -0600

----------------------------------------------------------------------
 CHANGES.txt   | 1 +
 bin/cassandra | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cb090791/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 9ce8d49..a3de742 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.17
+ * Use portable stderr for java error in startup (CASSANDRA-13211)
  * Fix Thread Leak in OutboundTcpConnection (CASSANDRA-13204)
  * Coalescing strategy can enter infinite loop (CASSANDRA-13159)
  * Upgrade netty version to fix memory leak with client encryption 
(CASSANDRA-13114)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/cb090791/bin/cassandra
----------------------------------------------------------------------
diff --git a/bin/cassandra b/bin/cassandra
index 4dca73e..957cc7d 100755
--- a/bin/cassandra
+++ b/bin/cassandra
@@ -99,7 +99,7 @@ else
 fi
 
 if [ -z $JAVA ] ; then
-    echo Unable to find java executable. Check JAVA_HOME and PATH environment 
variables. > /dev/stderr
+    echo Unable to find java executable. Check JAVA_HOME and PATH environment 
variables. >&2
     exit 1;
 fi
 

Reply via email to