cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [1/2] cassandra git commit: Return %ERRORLEVEL% in nodetool.bat
Date Fri, 14 Aug 2015 19:23:58 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.0 99e0c907e -> b294058b6


Return %ERRORLEVEL% in nodetool.bat

Patch by jmckenzie; reviewed by pthompson for CASSANDRA-10078


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

Branch: refs/heads/cassandra-3.0
Commit: 58bee04ccbd2d5434dbd28ce0743d5bf2cf54bbc
Parents: 3aa7308
Author: Joshua McKenzie <jmckenzie@apache.org>
Authored: Fri Aug 14 15:22:50 2015 -0400
Committer: Joshua McKenzie <jmckenzie@apache.org>
Committed: Fri Aug 14 15:22:50 2015 -0400

----------------------------------------------------------------------
 bin/nodetool.bat | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/58bee04c/bin/nodetool.bat
----------------------------------------------------------------------
diff --git a/bin/nodetool.bat b/bin/nodetool.bat
index 92d5c05..416aca5 100644
--- a/bin/nodetool.bat
+++ b/bin/nodetool.bat
@@ -35,5 +35,5 @@ echo The JAVA_HOME environment variable must be set to run this program!
 pause
 
 :finally
-
-ENDLOCAL
+ENDLOCAL & set RC=%ERRORLEVEL%
+exit /B %RC%


Mime
View raw message